Initial commit

This commit is contained in:
0/0 2022-10-09 20:17:31 -06:00
commit e12122a6ed
No known key found for this signature in database
GPG key ID: DE8D5010C0AAA3DC
15 changed files with 927 additions and 0 deletions

15
src/lib.rs Normal file
View file

@ -0,0 +1,15 @@
#![cfg_attr(feature = "simd", feature(portable_simd))]
mod error;
mod standalone;
mod utilities;
mod whisper_ctx;
mod whisper_params;
pub use error::WhisperError;
pub use standalone::*;
pub use utilities::*;
pub use whisper_ctx::WhisperContext;
pub use whisper_params::{DecodeStrategy, FullParams};
pub type WhisperToken = std::ffi::c_int;