Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -432,7 +432,7 @@ class WhisperBase(ABC):
|
|
432 |
temp_file_count_text = "file"
|
433 |
if file_count!=1:
|
434 |
temp_file_count_text += "s"
|
435 |
-
total_info = f"\nProcessed {file_count} {
|
436 |
|
437 |
result_str = total_result.rstrip("\n")
|
438 |
result_str = self.transform_text_to_list(result_str,"□","■")
|
|
|
432 |
temp_file_count_text = "file"
|
433 |
if file_count!=1:
|
434 |
temp_file_count_text += "s"
|
435 |
+
total_info = f"\nProcessed {file_count} {'file' if file_count == 1 else 'files'} in {self.format_time((time_end-time_start).total_seconds())}"
|
436 |
|
437 |
result_str = total_result.rstrip("\n")
|
438 |
result_str = self.transform_text_to_list(result_str,"□","■")
|