Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -429,7 +429,8 @@ class WhisperBase(ABC):
|
|
429 |
time_end = datetime.now()
|
430 |
#total_info += f"Total processing time:\t{self.format_time((time_end-time_start).total_seconds())}"
|
431 |
total_info = f"Processed {file_count} {'file' if file_count == 1 else 'files'} in {self.format_time((time_end-time_start).total_seconds())}"
|
432 |
-
|
|
|
433 |
result_str = self.transform_text_to_list(total_result.rstrip("\n"),"□","■") #Transform to gr.Dataframe format
|
434 |
result_file_path = [info['path'] for info in files_to_download.values()]
|
435 |
|
|
|
429 |
time_end = datetime.now()
|
430 |
#total_info += f"Total processing time:\t{self.format_time((time_end-time_start).total_seconds())}"
|
431 |
total_info = f"Processed {file_count} {'file' if file_count == 1 else 'files'} in {self.format_time((time_end-time_start).total_seconds())}"
|
432 |
+
|
433 |
+
print("data to process: "+total_result)
|
434 |
result_str = self.transform_text_to_list(total_result.rstrip("\n"),"□","■") #Transform to gr.Dataframe format
|
435 |
result_file_path = [info['path'] for info in files_to_download.values()]
|
436 |
|