当前funASR仅支持本地模型

新增FunASR服务API调用(服务可根据官方说明自行另外部署), 增加配置与API调用实现
This commit is contained in:
wnk
2025-04-27 11:55:10 +08:00
parent 411fc46189
commit 244c76793c
4 changed files with 152 additions and 0 deletions
+6
View File
@@ -200,6 +200,12 @@ ASR:
type: fun_local
model_dir: models/SenseVoiceSmall
output_dir: tmp/
FunASRServer:
# 支持FunASR服务,部署方法:https://github.com/modelscope/FunASR/blob/main/runtime/docs/SDK_advanced_guide_online_zh.md
# mode 预置 offline
type: fun_server
host: 127.0.0.1
port: 10096
SherpaASR:
type: sherpa_onnx_local
model_dir: models/sherpa-onnx-sense-voice-zh-en-ja-ko-yue-2024-07-17