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