update to v1.4.1

This commit is contained in:
Zero 2023-05-05 21:52:06 -06:00
parent 330024a8af
commit 6d2b6251ff
No known key found for this signature in database
GPG key ID: 3861E636EA1E0E2B
2 changed files with 5 additions and 5 deletions

View file

@ -275,16 +275,16 @@ impl WhisperContext {
unsafe { whisper_rs_sys::whisper_model_n_mels(self.ctx) }
}
/// Get model_f16.
/// Get model_ftype.
///
/// # Returns
/// c_int
///
/// # C++ equivalent
/// `int whisper_model_f16 (struct whisper_context * ctx);`
/// `int whisper_model_ftype (struct whisper_context * ctx);`
#[inline]
pub fn model_f16(&self) -> c_int {
unsafe { whisper_rs_sys::whisper_model_f16(self.ctx) }
pub fn model_ftype(&self) -> c_int {
unsafe { whisper_rs_sys::whisper_model_ftype(self.ctx) }
}
/// Get model_type.

@ -1 +1 @@
Subproject commit 5108b30e6daf361c856abb6b86e5038500bdbeb1
Subproject commit 9c61f5f58555bb136b71b391b40f956328f18dd5