LAP-DEV commited on
Commit
86f2482
·
verified ·
1 Parent(s): 1ca8bfc

Update modules/whisper/whisper_base.py

Browse files
Files changed (1) hide show
  1. modules/whisper/whisper_base.py +3 -0
modules/whisper/whisper_base.py CHANGED
@@ -486,6 +486,9 @@ class WhisperBase(ABC):
486
  content = get_csv(transcribed_segments)
487
  output_path += '.csv'
488
 
 
 
 
489
  write_file(content, output_path)
490
  return content, output_path
491
 
 
486
  content = get_csv(transcribed_segments)
487
  output_path += '.csv'
488
 
489
+ #Reformat speaker id layout: remove '_'
490
+ content.replace("SPEAKER_", "SPEAKER ")
491
+
492
  write_file(content, output_path)
493
  return content, output_path
494