Merge pull request #76 from fakecore/master

This commit is contained in:
0/0 2023-08-01 04:35:46 +00:00 committed by GitHub
commit 19f47dac39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,9 @@ pub use whisper_ctx::WhisperContext;
pub use whisper_params::{FullParams, SamplingStrategy}; pub use whisper_params::{FullParams, SamplingStrategy};
pub use whisper_state::WhisperState; pub use whisper_state::WhisperState;
pub type WhisperSysContext = whisper_rs_sys::whisper_context;
pub type WhisperSysState = whisper_rs_sys::whisper_state;
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;
pub type WhisperNewSegmentCallback = whisper_rs_sys::whisper_new_segment_callback; pub type WhisperNewSegmentCallback = whisper_rs_sys::whisper_new_segment_callback;