LAP-DEV commited on
Commit
fbd678b
·
verified ·
1 Parent(s): b877e7a

Update modules/whisper/whisper_base.py

Browse files
Files changed (1) hide show
  1. modules/whisper/whisper_base.py +3 -1
modules/whisper/whisper_base.py CHANGED
@@ -377,7 +377,9 @@ class WhisperBase(ABC):
377
 
378
  total_time += info["time_for_task"]
379
  total_info += f'Input file:\t\t{info["input_source_file"]}\nLanguage:\t{info["lang"]} (probability {info["lang_prob"]}%)\n'
380
- total_info += f'Input file:	{info["input_source_file"]}\n'
 
 
381
 
382
  if params.is_translate:
383
  total_info += f'Translation:\t{info["transcription"]}\n\t⤷ Handled by OpenAI Whisper\n'
 
377
 
378
  total_time += info["time_for_task"]
379
  total_info += f'Input file:\t\t{info["input_source_file"]}\nLanguage:\t{info["lang"]} (probability {info["lang_prob"]}%)\n'
380
+
381
+ temp = f'Input file:\t{info["input_source_file"]}\n'
382
+ total_info += print(temp)
383
 
384
  if params.is_translate:
385
  total_info += f'Translation:\t{info["transcription"]}\n\t⤷ Handled by OpenAI Whisper\n'