Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -282,7 +282,7 @@ class WhisperBase(ABC):
|
|
282 |
total_result += f'{info["subtitle"]}'
|
283 |
total_time += info["time_for_task"]
|
284 |
#total_info += f'{info["lang"]}'
|
285 |
-
total_info += f"Input file: {info['input']}\nLanguage prediction: {info['lang']}"
|
286 |
|
287 |
#result_str = f"Processing of file '{file_name}{file_ext}' done in {self.format_time(total_time)}:\n\n{total_result}"
|
288 |
total_info += f"\nTranscription duration: {self.format_time(total_time)}"
|
|
|
282 |
total_result += f'{info["subtitle"]}'
|
283 |
total_time += info["time_for_task"]
|
284 |
#total_info += f'{info["lang"]}'
|
285 |
+
total_info += f"Input file: {info['input']}\nLanguage prediction: {info['lang']}\n"
|
286 |
|
287 |
#result_str = f"Processing of file '{file_name}{file_ext}' done in {self.format_time(total_time)}:\n\n{total_result}"
|
288 |
total_info += f"\nTranscription duration: {self.format_time(total_time)}"
|