部署优化 #119
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user