document learnings

This commit is contained in:
Bel LaPointe
2023-12-20 22:50:12 -05:00
parent c69f6c5f7f
commit 1cdefd1eca
2 changed files with 7 additions and 2 deletions

View File

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