From ef7d037d75ab12c7db751d7738cfc4a36c945fb9 Mon Sep 17 00:00:00 2001 From: Chris Raethke Date: Tue, 21 Nov 2023 18:30:08 +1000 Subject: [PATCH] Expose WhisperGrammar* from the lib --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index ed17306..70b6d46 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,6 +14,7 @@ pub use standalone::*; pub use utilities::*; pub use whisper_ctx::WhisperContext; pub use whisper_ctx::WhisperContextParameters; +pub use whisper_grammar::{WhisperGrammarElement, WhisperGrammarElementType}; pub use whisper_params::{FullParams, SamplingStrategy}; pub use whisper_state::WhisperState;