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) }
|
||||
}
|
||||
|
||||
/// 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue