Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -375,7 +375,7 @@ class WhisperBase(ABC):
|
|
375 |
total_time = 0
|
376 |
for file_name, info in files_info.items():
|
377 |
#total_result += f'{info["subtitle"]}'
|
378 |
-
total_result = {info["subtitle"]
|
379 |
|
380 |
total_time += info["time_for_task"]
|
381 |
total_info += f'Input file:\t\t{info["input_source_file"]}\nLanguage:\t{info["lang"]} (probability {info["lang_prob"]}%)\n'
|
|
|
375 |
total_time = 0
|
376 |
for file_name, info in files_info.items():
|
377 |
#total_result += f'{info["subtitle"]}'
|
378 |
+
total_result = {info["subtitle"]}
|
379 |
|
380 |
total_time += info["time_for_task"]
|
381 |
total_info += f'Input file:\t\t{info["input_source_file"]}\nLanguage:\t{info["lang"]} (probability {info["lang_prob"]}%)\n'
|