add WhisperTokenData type
This commit is contained in:
parent
cc05ecfd42
commit
ce734cca04
1 changed files with 2 additions and 1 deletions
|
|
@ -12,5 +12,6 @@ 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 type WhisperToken = std::ffi::c_int;
|
pub type WhisperTokenData = whisper_rs_sys::whisper_token_data;
|
||||||
|
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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue