update to v1.4.1
This commit is contained in:
parent
330024a8af
commit
6d2b6251ff
2 changed files with 5 additions and 5 deletions
|
|
@ -275,16 +275,16 @@ impl WhisperContext {
|
||||||
unsafe { whisper_rs_sys::whisper_model_n_mels(self.ctx) }
|
unsafe { whisper_rs_sys::whisper_model_n_mels(self.ctx) }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get model_f16.
|
/// Get model_ftype.
|
||||||
///
|
///
|
||||||
/// # Returns
|
/// # Returns
|
||||||
/// c_int
|
/// c_int
|
||||||
///
|
///
|
||||||
/// # C++ equivalent
|
/// # C++ equivalent
|
||||||
/// `int whisper_model_f16 (struct whisper_context * ctx);`
|
/// `int whisper_model_ftype (struct whisper_context * ctx);`
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn model_f16(&self) -> c_int {
|
pub fn model_ftype(&self) -> c_int {
|
||||||
unsafe { whisper_rs_sys::whisper_model_f16(self.ctx) }
|
unsafe { whisper_rs_sys::whisper_model_ftype(self.ctx) }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get model_type.
|
/// Get model_type.
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 5108b30e6daf361c856abb6b86e5038500bdbeb1
|
Subproject commit 9c61f5f58555bb136b71b391b40f956328f18dd5
|
||||||
Loading…
Add table
Add a link
Reference in a new issue