|
Download examples/rust-example/README.md from echodict/silero-vad: direct link, hf CLI and curl.
- Browser
- Download file 496 Bytes
-
https://huggingface.co/datasets/echodict/silero-vad/resolve/main/examples/rust-example/README.md
- Command line
-
hf download hf://datasets/echodict/silero-vad/examples/rust-example/README.md
-
curl -L -o README.md https://huggingface.co/datasets/echodict/silero-vad/resolve/main/examples/rust-example/README.md
496 Bytes
Stream example in Rust
Made after C++ stream example
Dependencies
- To build Rust crate
ortyou needccinstalled.
Usage
Just
cargo run
If you run example outside of this repo adjust environment variable
SILERO_MODEL_PATH=/path/to/silero_vad.onnx cargo run
If you need to test against other wav file, not recorder.wav, specify it as the first argument
cargo run -- /path/to/audio/file.wav