Re-export whisper_ahead

This commit is contained in:
arizhih 2024-05-18 00:06:53 +02:00
parent 0c8798c986
commit ce17f9a441
2 changed files with 2 additions and 1 deletions

View file

@ -29,7 +29,7 @@ fn main() -> Result<(), &'static str> {
(5, 4), (5, 4),
(5, 6), (5, 6),
] ]
.map(|(n_text_layer, n_head)| whisper_rs_sys::whisper_ahead { .map(|(n_text_layer, n_head)| whisper_rs::DtwAhead {
n_text_layer, n_text_layer,
n_head, n_head,
}); });

View file

@ -49,3 +49,4 @@ pub type WhisperProgressCallback = whisper_rs_sys::whisper_progress_callback;
pub type WhisperLogitsFilterCallback = whisper_rs_sys::whisper_logits_filter_callback; pub type WhisperLogitsFilterCallback = whisper_rs_sys::whisper_logits_filter_callback;
pub type WhisperAbortCallback = whisper_rs_sys::ggml_abort_callback; pub type WhisperAbortCallback = whisper_rs_sys::ggml_abort_callback;
pub type WhisperLogCallback = whisper_rs_sys::ggml_log_callback; pub type WhisperLogCallback = whisper_rs_sys::ggml_log_callback;
pub type DtwAhead = whisper_rs_sys::whisper_ahead;