mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
Update sherpa_onnx_local.py
original model not found
This commit is contained in:
parent
63e378524b
commit
bb92b54d5a
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue