fix: public WhisperState from lib

This commit is contained in:
yuniruyuni 2023-04-26 11:54:58 +09:00
parent efd18b6cc1
commit 473b19cf22

View file

@ -13,6 +13,7 @@ pub use standalone::*;
pub use utilities::*; pub use utilities::*;
pub use whisper_ctx::WhisperContext; pub use whisper_ctx::WhisperContext;
pub use whisper_params::{FullParams, SamplingStrategy}; pub use whisper_params::{FullParams, SamplingStrategy};
pub use whisper_state::WhisperState;
pub type WhisperTokenData = whisper_rs_sys::whisper_token_data; pub type WhisperTokenData = whisper_rs_sys::whisper_token_data;
pub type WhisperToken = whisper_rs_sys::whisper_token; pub type WhisperToken = whisper_rs_sys::whisper_token;