Update sherpa_onnx_local.py

original model not found
This commit is contained in:
Charles Yang 2025-05-07 18:12:42 +08:00 committed by GitHub
parent 63e378524b
commit bb92b54d5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,7 +56,7 @@ class ASRProvider(ASRProviderBase):
if not os.path.isfile(file_path): if not os.path.isfile(file_path):
logger.bind(tag=TAG).info(f"正在下载模型文件: {file_name}") logger.bind(tag=TAG).info(f"正在下载模型文件: {file_name}")
model_file_download( model_file_download(
model_id="pengzhendong/sherpa-onnx-sense-voice-zh-en-ja-ko-yue", model_id="csukuangfj/sherpa-onnx-sense-voice-zh-en-ja-ko-yue-2024-07-17",
file_path=file_name, file_path=file_name,
local_dir=self.model_dir, local_dir=self.model_dir,
) )