Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -285,7 +285,7 @@ class WhisperBase(ABC):
|
|
285 |
#result_str = f"Processing of file '{file_name}{file_ext}' done in {self.format_time(total_time)}:\n\n{total_result}"
|
286 |
total_info += f"\nTranscription duration: {self.format_time(total_time)}"
|
287 |
result_str = total_result
|
288 |
-
result_file_path = [info['path'] for info in
|
289 |
|
290 |
return [result_str, result_file_path, total_info]
|
291 |
|
|
|
285 |
#result_str = f"Processing of file '{file_name}{file_ext}' done in {self.format_time(total_time)}:\n\n{total_result}"
|
286 |
total_info += f"\nTranscription duration: {self.format_time(total_time)}"
|
287 |
result_str = total_result
|
288 |
+
result_file_path = [info['path'] for info in files_info.values()]
|
289 |
|
290 |
return [result_str, result_file_path, total_info]
|
291 |
|