Update modules/whisper/whisper_base.py
Browse files
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
|