LAP-DEV commited on
Commit
235d724
·
verified ·
1 Parent(s): acf9c3b

Update modules/whisper/whisper_base.py

Browse files
Files changed (1) hide show
  1. modules/whisper/whisper_base.py +0 -3
modules/whisper/whisper_base.py CHANGED
@@ -509,9 +509,6 @@ class WhisperBase(ABC):
509
  elif file_format == "csv":
510
  content = get_csv(transcribed_segments)
511
  output_path += '.csv'
512
-
513
- #Reformat speaker id layout: remove '_'
514
- content = content.replace("SPEAKER_", "SPEAKER ")
515
 
516
  write_file(content, output_path)
517
  return content, output_path
 
509
  elif file_format == "csv":
510
  content = get_csv(transcribed_segments)
511
  output_path += '.csv'
 
 
 
512
 
513
  write_file(content, output_path)
514
  return content, output_path