faster-whisper-rs

Crates.iofaster-whisper-rs
lib.rsfaster-whisper-rs
version0.1.0
sourcesrc
created_at2024-06-02 13:56:10.842936
updated_at2024-06-02 13:56:10.842936
descriptionHigh-level rust bindings to the faster-whisper python api.
homepagehttps://github.com/CodersCreative/faster-whisper-rs
repository
max_upload_size
id1259209
size4,391
Creative Coders (CodersCreative)

documentation

README

faster-whisper-rs

It is a rust crate for easily implementing Speech-To-Text into your rust programs.

Python api:

faster-whisper

Install Rust

Install Rust

On Linux or MacOS:

curl --proto '=https' --tlsv1.2 -ssf https://sh.rustup.rs | sh

Example of making a transcript

use std::error::Error;
use faster-whisper-rs::WhisperModel;

fn main() -> Result<(), Box<dyn Error>>{
    let fw = WhisperModel::default();
    let transcript = fw.transcribe(false, "Path to file".to_string())?;

    println!("{}", transcript);

    Ok(())
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Commit count: 0

cargo fmt