feat: 端侧转写通路(sherpa-onnx WASM + SenseVoiceSmall,音频不出设备)+ 模型获取脚本与接口校验

This commit is contained in:
Jayway Liu
2026-10-04 10:48:42 +08:00
parent bd8242e76b
commit 9ac1162f00
11 changed files with 1158 additions and 1 deletions
+3
View File
@@ -10,3 +10,6 @@ VITE_JEV_PROXY_URL=
# ASR(语音转写)代理地址。Tauri/不支持 SpeechRecognition 的环境走录音上传通路;
# 服务端未配置真实 ASR provider 时返回占位结果,输入框兜底为打字。
VITE_ASR_PROXY_URL=http://localhost:8787
# 端侧小模型转写(sherpa-onnx WASM + SenseVoiceSmall)默认开;'0' 关闭
# VITE_ONDEVICE_ASR=0