Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
|
@@ -428,11 +428,8 @@ class WhisperBase(ABC):
|
|
| 428 |
|
| 429 |
result_str = total_result.rstrip("\n")
|
| 430 |
result_file_path = [info['path'] for info in files_to_download.values()]
|
| 431 |
-
|
| 432 |
-
result_list = []
|
| 433 |
-
result_list.append(result_str)
|
| 434 |
|
| 435 |
-
return [
|
| 436 |
|
| 437 |
except Exception as e:
|
| 438 |
print(f"Error transcribing file: {e}")
|
|
|
|
| 428 |
|
| 429 |
result_str = total_result.rstrip("\n")
|
| 430 |
result_file_path = [info['path'] for info in files_to_download.values()]
|
|
|
|
|
|
|
|
|
|
| 431 |
|
| 432 |
+
return [result_str,result_file_path,total_info]
|
| 433 |
|
| 434 |
except Exception as e:
|
| 435 |
print(f"Error transcribing file: {e}")
|