smaller for dev
This commit is contained in:
@@ -5,6 +5,6 @@ pub fn main<F>(
|
|||||||
handler_fn: F
|
handler_fn: F
|
||||||
) where F: FnMut(Result<rust_whisper_lib::Whispered, String>) + Send + 'static {
|
) where F: FnMut(Result<rust_whisper_lib::Whispered, String>) + Send + 'static {
|
||||||
flags.model_path = None;
|
flags.model_path = None;
|
||||||
flags.model_buffer = Some(include_bytes!("../../models/ggml-small.en.bin").to_vec());
|
flags.model_buffer = Some(include_bytes!("../../models/ggml-tiny.en.bin").to_vec());
|
||||||
rust_whisper_lib::main(flags, handler_fn);
|
rust_whisper_lib::main(flags, handler_fn);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user