diff --git a/VERSION b/VERSION index b1e80bb..845639e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.3 +0.1.4 diff --git a/vktrs/asr.py b/vktrs/asr.py index 28283b0..2eeefa4 100644 --- a/vktrs/asr.py +++ b/vktrs/asr.py @@ -125,11 +125,11 @@ def whisper_segment_transcription( end_prev=0 current_phrase = [] for rec in token_large_index_segmentations.values(): - print(current_phrase) - print(start_prev, end_prev, rec) + #print(current_phrase) + #print(start_prev, end_prev, rec) # we're in the same phrase as previous step if rec['start'] == start_prev: - print("still in phrase") + #print("still in phrase") current_phrase.append(rec['token']) start_prev = rec['start'] end_prev = rec.get('end') @@ -145,7 +145,7 @@ def whisper_segment_transcription( # ...which starts immediately after the previous phrase if rec['start'] == end_prev: - print("new starts where expected") + #print("new starts where expected") current_phrase.append(rec['token']) start_prev = rec['start'] end_prev = rec['end'] @@ -156,7 +156,7 @@ def whisper_segment_transcription( else: #raise NotImplementedError # let's just do.. this? for now? I guess? - print("ruh roh") + #print("ruh roh") current_phrase.append(rec['token']) start_prev = rec['start'] end_prev = rec['end']