Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -338,10 +338,10 @@ class WhisperBase(ABC):
|
|
338 |
total_info += f'Input file:\t\t{info["input_source_file"]}\nLanguage:\t{info["lang"]} (probability {info["lang_prob"]}%)\n'
|
339 |
|
340 |
if params.is_translate:
|
341 |
-
total_info += f'Translation:\t{info["transcription"]}\n\t⤷
|
342 |
|
343 |
if translate_output:
|
344 |
-
total_info += f'Translation:\t{info["translation"]}\n\t⤷
|
345 |
|
346 |
time_end = datetime.now()
|
347 |
total_info += f"\nTotal processing time: {self.format_time((time_end-time_start).total_seconds())}"
|
|
|
338 |
total_info += f'Input file:\t\t{info["input_source_file"]}\nLanguage:\t{info["lang"]} (probability {info["lang_prob"]}%)\n'
|
339 |
|
340 |
if params.is_translate:
|
341 |
+
total_info += f'Translation:\t{info["transcription"]}\n\t⤷ Handled by OpenAI Whisper\n'
|
342 |
|
343 |
if translate_output:
|
344 |
+
total_info += f'Translation:\t{info["translation"]}\n\t⤷ Handled by Facebook NLLB\n'
|
345 |
|
346 |
time_end = datetime.now()
|
347 |
total_info += f"\nTotal processing time: {self.format_time((time_end-time_start).total_seconds())}"
|