liuyang commited on
Commit
f425ecd
·
1 Parent(s): 78d61ea

disable unmatched_diarization_segments

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -932,9 +932,9 @@ class WhisperTranscriber:
932
  wav_path, language, translate, prompt, batch_size, base_offset_s=base_offset_s, clip_timestamps=clip_timestamps
933
  )
934
 
935
-
936
  # Step 4: Merge diarization into transcription (assign speakers)
937
- transcription_results, unmatched_diarization_segments = self.assign_speakers_to_transcription(
938
  transcription_results, diarization_segments
939
  )
940
 
 
932
  wav_path, language, translate, prompt, batch_size, base_offset_s=base_offset_s, clip_timestamps=clip_timestamps
933
  )
934
 
935
+ unmatched_diarization_segments = []
936
  # Step 4: Merge diarization into transcription (assign speakers)
937
+ transcription_results, _ = self.assign_speakers_to_transcription(
938
  transcription_results, diarization_segments
939
  )
940