Crates.io | faster-whisper-rs |
lib.rs | faster-whisper-rs |
version | 0.2.0 |
source | src |
created_at | 2024-06-02 13:56:10.842936 |
updated_at | 2024-07-15 20:49:18.548121 |
description | High-level rust bindings to the faster-whisper python api. |
homepage | |
repository | https://github.com/CodersCreative/faster-whisper-rs |
max_upload_size | |
id | 1259209 |
size | 2,039,804 |
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.