diff --git a/src/whisper_ctx.rs b/src/whisper_ctx.rs index 9553702..75aba43 100644 --- a/src/whisper_ctx.rs +++ b/src/whisper_ctx.rs @@ -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. diff --git a/sys/whisper.cpp b/sys/whisper.cpp index 5108b30..9c61f5f 160000 --- a/sys/whisper.cpp +++ b/sys/whisper.cpp @@ -1 +1 @@ -Subproject commit 5108b30e6daf361c856abb6b86e5038500bdbeb1 +Subproject commit 9c61f5f58555bb136b71b391b40f956328f18dd5