LAP-DEV commited on
Commit
f21aaa4
·
verified ·
1 Parent(s): 235717b

Update modules/whisper/whisper_base.py

Browse files
Files changed (1) hide show
  1. modules/whisper/whisper_base.py +1 -1
modules/whisper/whisper_base.py CHANGED
@@ -414,7 +414,7 @@ class WhisperBase(ABC):
414
  if params.is_translate: title_line += f'{html_newline}{html_multi_tab}<B>Translation:</B>{html_single_tab}{info["transcription"]} (Handled by OpenAI Whisper)'
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:blue;'>" + title_line + "</p>"
418
 
419
  if info["subtitle"].strip() == "":
420
  info["subtitle"] = "(No speech detected)\n"
 
414
  if params.is_translate: title_line += f'{html_newline}{html_multi_tab}<B>Translation:</B>{html_single_tab}{info["transcription"]} (Handled by OpenAI Whisper)'
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:blue;border-radius:25px;'>" + title_line + "</p>"
418
 
419
  if info["subtitle"].strip() == "":
420
  info["subtitle"] = "(No speech detected)\n"