mirror of
https://github.com/snakers4/silero-vad.git
synced 2026-02-04 17:39:22 +08:00
Update the ort dependency from 2.0.0-rc.2 to 2.0.0-rc.10 and adapt the code to work with the new API. This includes: - Updating ndarray to 0.16 to match ort's requirements - Using Session and Value from their new module locations - Adapting to the new Value::from_array() and try_extract_tensor() APIs - Converting SessionInputs from Value references Co-Authored-By: Claude <noreply@anthropic.com>
10 lines
171 B
TOML
10 lines
171 B
TOML
[package]
|
|
name = "rust-example"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
ort = { version = "=2.0.0-rc.10", features = ["ndarray"] }
|
|
ndarray = "0.16"
|
|
hound = "3"
|