feat:部署优化 #118

Merged
cfy777 merged 1 commits from feat/build into develop 2026-06-14 21:29:05 +08:00
Showing only changes of commit c2bae4e3b7 - Show all commits

View File

@@ -52,7 +52,7 @@ export function useVAD(options?: VADOptions) {
model: "legacy",
// WASM 和模型文件均由 Vite 插件复制到 public/ (即 dist 根目录)
onnxWASMBasePath: "/",
modelURL: "/silero_vad_legacy.onnx",
baseAssetPath: "/",
onSpeechStart: () => {
setIsSpeaking(true);