LAP-DEV commited on
Commit
b3e714e
·
verified ·
1 Parent(s): 195a285

Update modules/whisper/whisper_base.py

Browse files
Files changed (1) hide show
  1. modules/whisper/whisper_base.py +1 -2
modules/whisper/whisper_base.py CHANGED
@@ -483,8 +483,7 @@ class WhisperBase(ABC):
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)
 
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)