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