LAP-DEV commited on
Commit
67bdb0d
·
verified ·
1 Parent(s): c765506

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
@@ -283,8 +283,7 @@ class WhisperBase(ABC):
283
 
284
  total_info += f"\nTranscription duration: {self.format_time(total_time)}"
285
  result_str = total_result
286
- #result_file_path = [info['path'] for info in files_to_download.values()]
287
- result_file_path = [info['path'] for info in files_info.values()]
288
 
289
  return [result_str, result_file_path, total_info]
290
 
 
283
 
284
  total_info += f"\nTranscription duration: {self.format_time(total_time)}"
285
  result_str = total_result
286
+ result_file_path = [file_to_dl['path'] for file_to_dl in files_to_download.values()]
 
287
 
288
  return [result_str, result_file_path, total_info]
289