Update modules/whisper/whisper_base.py
Browse files
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
|