LAP-DEV commited on
Commit
9f66076
·
verified ·
1 Parent(s): fdfc2bb

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
@@ -419,7 +419,7 @@ class WhisperBase(ABC):
419
  if translate_output: title_line += f'\nTranslation:\t{info["translation"]} (Handled by Facebook NLLB)'
420
  title_line += "■"
421
 
422
- temp_subtitle = info["subtitle"]rstrip("\n")
423
  temp_subtitle = temp_subtitle.replace("\t","□")
424
  temp_subtitle = temp_subtitle.replace("\n","■")
425
  total_result += title_line+temp_subtitle
 
419
  if translate_output: title_line += f'\nTranslation:\t{info["translation"]} (Handled by Facebook NLLB)'
420
  title_line += "■"
421
 
422
+ temp_subtitle = info["subtitle"].rstrip("\n")
423
  temp_subtitle = temp_subtitle.replace("\t","□")
424
  temp_subtitle = temp_subtitle.replace("\n","■")
425
  total_result += title_line+temp_subtitle