From 6d2b6251ff2782f1190c28e3cbf5d07e9c08a7b5 Mon Sep 17 00:00:00 2001 From: Zero Date: Fri, 5 May 2023 21:52:06 -0600 Subject: [PATCH] update to v1.4.1 --- src/whisper_ctx.rs | 8 ++++---- sys/whisper.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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