nkeenan38 / voice_activity_detector

A Voice Activity Detector rust library using the Silero VAD model.
https://crates.io/crates/voice_activity_detector
MIT License
26 stars 6 forks source link

Allow load dynamic onnx lib #26

Closed hlhr202 closed 5 months ago

hlhr202 commented 5 months ago

Could you bypass a feature flag to ort "load-dynamic" feature? This may solve some linking issues when building ort with other libraries (eg. whisper-rs) that may conflict with this library under windows MSVC.

https://docs.rs/ort/latest/ort/#how-to-get-binaries

nkeenan38 commented 5 months ago

Hey. Just added the load-dynamic feature flag to the library, which just enables the same feature in the ort crate. You can reference that library's documentation for setting the library path.