speakrs 0.6.0

Fast Rust speaker diarization with pyannote-level accuracy and native CPU/CoreML/CUDA inference
Documentation
1
2
3
4
5
6
7
use std::path::PathBuf;

pub(crate) fn model_fixture_dir() -> PathBuf {
    std::env::var_os("SPEAKRS_MODEL_FIXTURE_DIR")
        .map(PathBuf::from)
        .unwrap_or_else(|| PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("fixtures/models"))
}