feat: add new segment callback bindings

This commit is contained in:
thewh1teagle 2024-05-28 21:21:00 +03:00
parent 1f4c49ae68
commit c674b7e101
No known key found for this signature in database
GPG key ID: F7BFC3A4192804E4
2 changed files with 147 additions and 1 deletions

View file

@ -29,7 +29,7 @@ pub use whisper_ctx::WhisperContextParameters;
use whisper_ctx::WhisperInnerContext;
pub use whisper_ctx_wrapper::WhisperContext;
pub use whisper_grammar::{WhisperGrammarElement, WhisperGrammarElementType};
pub use whisper_params::{FullParams, SamplingStrategy};
pub use whisper_params::{FullParams, SamplingStrategy, SegmentCallbackData};
#[cfg(feature = "raw-api")]
pub use whisper_rs_sys;
pub use whisper_state::WhisperState;