LAP-DEV commited on
Commit
6ee4920
·
verified ·
1 Parent(s): 37eacaf

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
  tabbed_space = "\t"*3
415
  if add_timestamp_preview: title_line += "#TAB#"
416
  if diarize_speakers: title_line += "#TAB#"
417
- title_line += f'{tabbed_space}Media file:"\t{info["input_source_file"]}'
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)'
 
414
  tabbed_space = "\t"*3
415
  if add_timestamp_preview: title_line += "#TAB#"
416
  if diarize_speakers: title_line += "#TAB#"
417
+ title_line += f'{tabbed_space}Media file:\t{info["input_source_file"]}'
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)'