sherpa-onnx
sherpa-onnx copied to clipboard
TTS WASM Embedding?
Is there a way to build the TTS WASM example in a way that it can be used in a Vite-based project? At the moment, a lot of paths/other stuff appear to be hard-coded for the current setup.
it can be used in a Vite-based project?
Have you encountered any issues? If yes, would you mind posting the error logs?
The issues I'm hitting mostly come from the TTS system expecting all of the WASM/JS files to be in the same exact configuration(same filename, in the root directory). I tried a bit to work around it, but it is still throwing 404s.
Rewording my above question though, would it be possible for the build process to output an npm-style package, rather than a prebuilt playground?