pub struct WhisperConfig {
pub decoder: String,
pub encoder: String,
pub tokens: String,
pub language: String,
pub bpe_vocab: Option<String>,
pub provider: Option<String>,
pub num_threads: Option<i32>,
pub debug: bool,
}
Fields§
§decoder: String
§encoder: String
§tokens: String
§language: String
§bpe_vocab: Option<String>
§provider: Option<String>
§num_threads: Option<i32>
§debug: bool
Trait Implementations§
Source§impl Debug for WhisperConfig
impl Debug for WhisperConfig
Auto Trait Implementations§
impl Freeze for WhisperConfig
impl RefUnwindSafe for WhisperConfig
impl Send for WhisperConfig
impl Sync for WhisperConfig
impl Unpin for WhisperConfig
impl UnwindSafe for WhisperConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more