LAP-DEV commited on
Commit
7bb1bc5
·
verified ·
1 Parent(s): 25629f4

Update modules/whisper/whisper_base.py

Browse files
Files changed (1) hide show
  1. modules/whisper/whisper_base.py +4 -4
modules/whisper/whisper_base.py CHANGED
@@ -414,10 +414,10 @@ class WhisperBase(ABC):
414
  if file_count_total > 1 and file_count > 1: title_line += "■"
415
  if add_timestamp_preview: title_line += "□"
416
  if diarize_speakers: title_line += "□"
417
- title_line += f'###Media file:\t{info["input_source_file"]}'
418
- title_line += f'\nLanguage:\t{info["lang"]} (probability {info["lang_prob"]}%)'
419
- if params.is_translate: title_line += f'\nTranslation:\t{info["transcription"]} (Handled by OpenAI Whisper)'
420
- if translate_output: title_line += f'\nTranslation:\t{info["translation"]} (Handled by Facebook NLLB)'
421
  title_line += "■"
422
 
423
  temp_subtitle = info["subtitle"].rstrip("\n")
 
414
  if file_count_total > 1 and file_count > 1: title_line += "■"
415
  if add_timestamp_preview: title_line += "□"
416
  if diarize_speakers: title_line += "□"
417
+ title_line += ("\t")*3+f'Media file:\t{info["input_source_file"]}'
418
+ title_line += ("\t")*3f'\nLanguage:\t{info["lang"]} (probability {info["lang_prob"]}%)'
419
+ if params.is_translate: title_line += ("\t")*3f'\nTranslation:\t{info["transcription"]} (Handled by OpenAI Whisper)'
420
+ if translate_output: title_line += ("\t")*3f'\nTranslation:\t{info["translation"]} (Handled by Facebook NLLB)'
421
  title_line += "■"
422
 
423
  temp_subtitle = info["subtitle"].rstrip("\n")