Merge branch 'tazz4843:master' into update-whisper-cpp

This commit is contained in:
arizhih 2024-05-07 13:36:30 +02:00 committed by GitHub
commit 1160b1b94e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 468 additions and 113 deletions

View file

@ -5,6 +5,7 @@ mod error;
mod standalone;
mod utilities;
mod whisper_ctx;
mod whisper_ctx_wrapper;
mod whisper_grammar;
mod whisper_params;
mod whisper_state;
@ -21,8 +22,9 @@ pub use standalone::*;
#[cfg(any(feature = "whisper-cpp-log", feature = "whisper-cpp-tracing"))]
use std::sync::Once;
pub use utilities::*;
pub use whisper_ctx::WhisperContext;
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};
#[cfg(feature = "raw-api")]