Pass aheads by reference, add dtw_mem_size param, rustfmt
This commit is contained in:
parent
da6b410439
commit
482860d0d6
5 changed files with 45 additions and 37 deletions
|
|
@ -11,7 +11,7 @@ fn main() -> Result<(), &'static str> {
|
|||
// Load a context and model.
|
||||
let ctx = WhisperContext::new_with_params(
|
||||
"example/path/to/model/whisper.cpp/models/ggml-base.en.bin",
|
||||
&mut WhisperContextParameters::default(),
|
||||
WhisperContextParameters::default(),
|
||||
)
|
||||
.expect("failed to load model");
|
||||
// Create a state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue