Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -418,7 +418,7 @@ class WhisperBase(ABC):
|
|
418 |
title_line += f'\n{tabbed_space}Language:\t{info["lang"]} (probability {info["lang_prob"]}%)'
|
419 |
if params.is_translate: title_line += f'\n{tabbed_space}Translation:\t{info["transcription"]} (Handled by OpenAI Whisper)'
|
420 |
if translate_output: title_line += f'\n{tabbed_space}Translation:\t{info["translation"]} (Handled by Facebook NLLB)'
|
421 |
-
title_line += #NEWLINE#"
|
422 |
|
423 |
# html_code = ""
|
424 |
# for temp_file in files_to_download.items():
|
|
|
418 |
title_line += f'\n{tabbed_space}Language:\t{info["lang"]} (probability {info["lang_prob"]}%)'
|
419 |
if params.is_translate: title_line += f'\n{tabbed_space}Translation:\t{info["transcription"]} (Handled by OpenAI Whisper)'
|
420 |
if translate_output: title_line += f'\n{tabbed_space}Translation:\t{info["translation"]} (Handled by Facebook NLLB)'
|
421 |
+
title_line += "#NEWLINE#"
|
422 |
|
423 |
# html_code = ""
|
424 |
# for temp_file in files_to_download.items():
|