sherpa-onnx
sherpa-onnx copied to clipboard
Improve WASM support/packaging
Currently the WASM models are extremely painful to get working once you start integrating the example code you get from downloading the WASM releases. We had to rewrite app-vad-asr.js entirely to get it running inside a traditional Vue app, and even then it took messy hacks. For web, the API should be an ES6 module you can import similarly to the Node example, like this recent commit, and allow specifying the data files.