Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

避免重复下载whisper base权重 #125

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down Expand Up @@ -993,4 +993,4 @@ def error_print(text):
# ssl_verify=False,
# share=True,
debug=True,
)
)