Open greglose opened 3 days ago
hello, try this whe initializing the app: const myvad = await MicVAD.new({ ortConfig: (ort) => { ort.env.wasm.wasmPaths = 'https://cdn.jsdelivr.net/npm/onnxruntime-web@1.19.0/dist/'; }, .... rest of the code I am using this library in angular for some time, if you have any issues drop a line.
Adding the vad-web to an angular 18 app. When launching I see the following error 👍 ./node_modules/onnxruntime-web/dist/ort.min.js:20:37-44 - Warning: Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
using import { MicVAD } from '@ricky0123/vad-web'; to add it to my component.
Any work arounds?
TIA