Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -378,8 +378,6 @@ class WhisperBase(ABC):
|
|
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 |
-
total_info += "Input file:\t"+str(info["input_source_file"])+"\n"
|
382 |
-
|
383 |
if params.is_translate:
|
384 |
total_info += f'Translation:\t{info["transcription"]}\n\t⤷ Handled by OpenAI Whisper\n'
|
385 |
|
|
|
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 |
if params.is_translate:
|
382 |
total_info += f'Translation:\t{info["transcription"]}\n\t⤷ Handled by OpenAI Whisper\n'
|
383 |
|