time cargo run -- --wav $HOME/Downloads/41A6C472-6E4D-4953-9A90-2497D2DAD8C9.wav --stream-step 30 --stream-retain 25 --stream-{head,tail}=1 2> /dev/null

master
Bel LaPointe 2024-01-02 16:45:04 -07:00
parent d32f7a4c40
commit 743c8c5f67
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ pub fn wav_channel<F>(
) where F: FnMut(Result<rust_whisper_lib::Transcribed, String>) + Send + 'static {
flags.model_path = None;
flags.model_buffer = Some(include_bytes!("../../models/ggml-base.en.bin").to_vec());
flags.model_buffer = Some(include_bytes!("../../models/ggml-distil-medium.en.bin").to_vec());
rust_whisper_lib::wav_channel(flags, handler_fn);
}