Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -282,8 +282,6 @@ class WhisperBase(ABC):
|
|
282 |
total_time += info["time_for_task"]
|
283 |
#total_info += f'{info["lang"]}'
|
284 |
total_info += f"Language {info['lang']} detected"
|
285 |
-
# Just get first line:
|
286 |
-
#break
|
287 |
|
288 |
#result_str = f"Processing of file '{file_name}{file_ext}' done in {self.format_time(total_time)}:\n\n{total_result}"
|
289 |
total_info += f"\nTranscription process done in {self.format_time(total_time)}"
|
|
|
282 |
total_time += info["time_for_task"]
|
283 |
#total_info += f'{info["lang"]}'
|
284 |
total_info += f"Language {info['lang']} detected"
|
|
|
|
|
285 |
|
286 |
#result_str = f"Processing of file '{file_name}{file_ext}' done in {self.format_time(total_time)}:\n\n{total_result}"
|
287 |
total_info += f"\nTranscription process done in {self.format_time(total_time)}"
|