Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -415,7 +415,7 @@ class WhisperBase(ABC):
|
|
415 |
if translate_output: title_line += f'{html_newline}{html_multi_tab}<B>Translation:</B>{html_single_tab}{info["translation"]} (Handled by Facebook NLLB)'
|
416 |
|
417 |
#title_line = "<p style='background-color:#F0F0F0;border-radius:10px;padding:5px'>" + title_line + "</p>"
|
418 |
-
title_line = "<p
|
419 |
|
420 |
if info["subtitle"].strip() == "":
|
421 |
info["subtitle"] = "(No speech detected)\n"
|
|
|
415 |
if translate_output: title_line += f'{html_newline}{html_multi_tab}<B>Translation:</B>{html_single_tab}{info["translation"]} (Handled by Facebook NLLB)'
|
416 |
|
417 |
#title_line = "<p style='background-color:#F0F0F0;border-radius:10px;padding:5px'>" + title_line + "</p>"
|
418 |
+
title_line = "<p id='md_preview'>" + title_line + "</p>"
|
419 |
|
420 |
if info["subtitle"].strip() == "":
|
421 |
info["subtitle"] = "(No speech detected)\n"
|