and change model
This commit is contained in:
@@ -15,7 +15,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-distil-large-v2.bin").to_vec());
|
||||
flags.model_buffer = Some(include_bytes!("../../models/ggml-distil-medium-v2.bin").to_vec());
|
||||
rust_whisper_lib::wav(flags.clone(), handler_fn, flags.wav.unwrap());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user