Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -418,7 +418,7 @@ class WhisperBase(ABC):
|
|
418 |
title_line = ""
|
419 |
if add_timestamp_preview: add_tabs += 1
|
420 |
if diarize_speakers: add_tabs += 1
|
421 |
-
title_line = (add_tabs*"\t")+f'Media file: {info["input_source_file"]}\n
|
422 |
title_line += (add_tabs*"\t")+f'Language: {info["lang"]} (probability {info["lang_prob"]}%)\n'
|
423 |
|
424 |
total_result += title_line+info["subtitle"]
|
|
|
418 |
title_line = ""
|
419 |
if add_timestamp_preview: add_tabs += 1
|
420 |
if diarize_speakers: add_tabs += 1
|
421 |
+
title_line = (add_tabs*"\t")+f'Media file: {info["input_source_file"]}\n'
|
422 |
title_line += (add_tabs*"\t")+f'Language: {info["lang"]} (probability {info["lang_prob"]}%)\n'
|
423 |
|
424 |
total_result += title_line+info["subtitle"]
|