diff --git a/webui.py b/webui.py index f18a5dc..37ee1fc 100644 --- a/webui.py +++ b/webui.py @@ -945,7 +945,7 @@ def error_print(text): # 尝试加载Whisper ASR模块 try: from ASR import WhisperASR - asr = WhisperASR('base') + asr = WhisperASR('Whisper/base.pt') success_print("Success! WhisperASR模块加载成功,默认使用Whisper-base模型") except Exception as e: error_print(f"WhisperASR 加载失败: {e}") @@ -993,4 +993,4 @@ def error_print(text): # ssl_verify=False, # share=True, debug=True, - ) \ No newline at end of file + )