Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WebAssembly example for VAD + Moonshine models. #1535

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

csukuangfj
Copy link
Collaborator

You can try it in the following huggingface space:

https://huggingface.co/spaces/k2-fsa/web-assembly-vad-asr-sherpa-onnx-en-moonshine-tiny

Screenshot 2024-11-13 at 21 00 06

You can download files for the above huggingface space and run them locally by visiting:
https://github.com/k2-fsa/sherpa-onnx/releases/tag/v1.10.30
Screenshot 2024-11-13 at 21 00 49

The following is an example:

wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.30/sherpa-onnx-wasm-simd-1.10.30-vad-asr-en-moonshine_tiny.tar.bz2

tar xvf sherpa-onnx-wasm-simd-1.10.30-vad-asr-en-moonshine_tiny.tar.bz2
cd sherpa-onnx-wasm-simd-1.10.30-vad-asr-en-moonshine_tiny
python3 -m http.server 6006

# Now open your browser and visit http://localhost:6006/

You should see something like the following:

Screenshot 2024-11-13 at 21 04 23

@csukuangfj csukuangfj merged commit 8436ba8 into k2-fsa:master Nov 13, 2024
@csukuangfj csukuangfj deleted the wasm-moonshine branch November 13, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant