Open hjw472015868 opened 4 months ago
the same error
the same error
Anyone found any solution to this problem?
@Lev-Shapiro @arcossci have you tried explicitly mentioning worklet url using cdn's like this? because it worked for me await MicVAD.new({ submitUserSpeechOnPause:true, ortConfig: (ort) => { ort.env.wasm.wasmPaths = "https://cdn.jsdelivr.net/npm/onnxruntime-web@1.19.0/dist/" }, workletURL: "https://cdn.jsdelivr.net/npm/@ricky0123/vad-web@0.0.18/dist/vad.worklet.bundle.min.js", modelURL: "https://cdn.jsdelivr.net/npm/@ricky0123/vad-web@0.0.18/dist/silero_vad.onnx", })
@Lev-Shapiro @arcossci have you tried explicitly mentioning worklet url using cdn's like this? because it worked for me await MicVAD.new({ submitUserSpeechOnPause:true, ortConfig: (ort) => { ort.env.wasm.wasmPaths = "https://cdn.jsdelivr.net/npm/onnxruntime-web@1.19.0/dist/" }, workletURL: "https://cdn.jsdelivr.net/npm/@ricky0123/vad-web@0.0.18/dist/vad.worklet.bundle.min.js", modelURL: "https://cdn.jsdelivr.net/npm/@ricky0123/vad-web@0.0.18/dist/silero_vad.onnx", })
This didn't work for me, still get the error, even with the cdn path.
I've solved it weeks ago, I explained every step in the Discord channel of this library. If the solution above didn't work for you - you are more than welcome to check out the Discord server
I've solved it weeks ago, I explained every step in the Discord channel of this library. If the solution above didn't work for you - you are more than welcome to check out the Discord server
Is there a discord channel to talk about VAD? If possible, could you share it here? Thank you.
Hi @stomx https://discord.gg/4WPeGEaSpF here you go
digitalChat5-CwHLMuC-.js:2037 Encountered an error while loading worklet. Please make sure the worklet vad.bundle.min.js included with @ricky0123/vad-web is available at the specified path: /vad.worklet.bundle.min.js