From 743c8c5f67061edf36b5e68132375f638bec8485 Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Tue, 2 Jan 2024 16:45:04 -0700 Subject: [PATCH] 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 --- rust-whisper-baked-lib/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust-whisper-baked-lib/src/lib.rs b/rust-whisper-baked-lib/src/lib.rs index 29b03cc..d757aaf 100644 --- a/rust-whisper-baked-lib/src/lib.rs +++ b/rust-whisper-baked-lib/src/lib.rs @@ -25,6 +25,7 @@ pub fn wav_channel( ) where F: FnMut(Result) + 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); }