smaller for dev
parent
218816a9dc
commit
c0bc9a9c76
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue