Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -303,7 +303,7 @@ class WhisperBase(ABC):
|
|
303 |
time_end = datetime.now()
|
304 |
total_info += f"\nTranscription duration: {self.format_time((time_end-time_start).total_seconds())}"
|
305 |
|
306 |
-
result_str = total_result
|
307 |
result_file_path = [info['path'] for info in files_to_download.values()]
|
308 |
|
309 |
return [result_str,result_file_path,total_info]
|
|
|
303 |
time_end = datetime.now()
|
304 |
total_info += f"\nTranscription duration: {self.format_time((time_end-time_start).total_seconds())}"
|
305 |
|
306 |
+
result_str = total_result.rstrip("\n")
|
307 |
result_file_path = [info['path'] for info in files_to_download.values()]
|
308 |
|
309 |
return [result_str,result_file_path,total_info]
|