Update whisper.cpp to v1.7.6
This commit is contained in:
parent
b202069aa8
commit
55e54212f1
6 changed files with 725 additions and 458 deletions
|
|
@ -588,4 +588,11 @@ impl WhisperState {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
/// Get the no_speech probability for the specified segment
|
||||
pub fn full_get_segment_no_speech_prob(&self, i_segment: c_int) -> f32 {
|
||||
unsafe {
|
||||
whisper_rs_sys::whisper_full_get_segment_no_speech_prob_from_state(self.ptr, i_segment)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue