Speech to text OpenAI
Whisper Tiny Ggml
Whisper Tiny - Fast multilingual ASR (whisper.cpp/GGML runtime)
whisper-tiny-ggml Make it part of your app.
One model. Your language.
use xybrid::ModelLoader;
use xybrid::ir::{Envelope, EnvelopeKind};
// Load the ASR model
let model = ModelLoader::from_registry("whisper-tiny-ggml").load()?;
// Transcribe a WAV file
let input = Envelope::new(EnvelopeKind::Audio(std::fs::read("recording.wav")?));
let result = model.run(&input, None)?;
println!("{}", result.text().unwrap_or(""));Built with Xybrid Quickstart