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