Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -483,8 +483,7 @@ class WhisperBase(ABC):
|
|
483 |
output_path += '.txt'
|
484 |
|
485 |
elif file_format == "csv":
|
486 |
-
|
487 |
-
content = get_csv(transcribed_segments,params.is_diarize)
|
488 |
output_path += '.csv'
|
489 |
|
490 |
write_file(content, output_path)
|
|
|
483 |
output_path += '.txt'
|
484 |
|
485 |
elif file_format == "csv":
|
486 |
+
content = get_csv(transcribed_segments)
|
|
|
487 |
output_path += '.csv'
|
488 |
|
489 |
write_file(content, output_path)
|