Compare commits
3 Commits
838493145f
...
54454ae2d7
| Author | SHA1 | Date | |
|---|---|---|---|
| 54454ae2d7 | |||
| 720c2e2b5b | |||
| c2bae4e3b7 |
@@ -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