Merge pull request '部署优化' (#119) from develop into main
All checks were successful
Deploy / deploy (push) Successful in 35s

Reviewed-on: http://8.161.227.145:3000/XEngineers/CamTalk/pulls/119
This commit was merged in pull request #119.
This commit is contained in:
2026-06-14 21:33:01 +08:00

View File

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