Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
|
@@ -379,7 +379,7 @@ class WhisperBase(ABC):
|
|
| 379 |
total_info += f'Input file:\t{info["input_source_file"]}\nLanguage:\t{info["lang"]} (probability {info["lang_prob"]}%)\n'
|
| 380 |
|
| 381 |
total_info += ("Input file:").ljust(12)+"\t"+str(info["input_source_file"])+"\n"
|
| 382 |
-
total_info += ("Language:").ljust(12)+"\t"+str(info["lang"]
|
| 383 |
|
| 384 |
if params.is_translate:
|
| 385 |
total_info += f'Translation:\t{info["transcription"]}\n\t⤷ Handled by OpenAI Whisper\n'
|
|
|
|
| 379 |
total_info += f'Input file:\t{info["input_source_file"]}\nLanguage:\t{info["lang"]} (probability {info["lang_prob"]}%)\n'
|
| 380 |
|
| 381 |
total_info += ("Input file:").ljust(12)+"\t"+str(info["input_source_file"])+"\n"
|
| 382 |
+
total_info += ("Language:").ljust(12)+"\t"+str(info["lang"])+"(probability "+str(info["lang_prob"])+"%)\n"
|
| 383 |
|
| 384 |
if params.is_translate:
|
| 385 |
total_info += f'Translation:\t{info["transcription"]}\n\t⤷ Handled by OpenAI Whisper\n'
|