Function ds_transcriber::transcribe
source · [−]pub fn transcribe(config: StreamSettings, model: &mut Model) -> Result<String>
Expand description
Usage
After getting config ready, all you need to do is pass a ref of it to the function:
use std::env::args;
let i_said = ds_transcriber::transcribe(config,&mut model)?;
println!("I said: {}", i_said);