a rust crate for easily implementing faster-whisper stt into your rust programs.
On Linux or MacOS:
curl --proto '=https' --tlsv1.2 -ssf https://sh.rustup.rs | sh
use std::error::Error;
use faster-whisper-rs::WhisperModel;
fn main() -> Result<(), Box<dyn Error>>{
let fw = WhisperModel::default();
let transcript = fw.transcribe("Path to file".to_string())?;
println!("{}", transcript);
Ok(())
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.