Enum kalosm_sound::WhisperSource
source · pub enum WhisperSource {
Tiny,
TinyEn,
Base,
BaseEn,
Small,
SmallEn,
Medium,
MediumEn,
Large,
LargeV2,
DistilMediumEn,
DistilLargeV2,
}
Expand description
The source whisper model to use.
Variants§
Tiny
The tiny model.
TinyEn
The tiny model with only English support.
Base
The base model.
BaseEn
The base model with only English support.
Small
The small model.
SmallEn
The small model with only English support.
Medium
The medium model.
MediumEn
The medium model with only English support.
Large
The large model.
LargeV2
The large model v2.
DistilMediumEn
The distil-medium english model.
DistilLargeV2
The distil-large model.
Implementations§
source§impl WhisperSource
impl WhisperSource
sourcepub fn is_multilingual(&self) -> bool
pub fn is_multilingual(&self) -> bool
Check if the model is multilingual.
Trait Implementations§
source§impl Clone for WhisperSource
impl Clone for WhisperSource
source§fn clone(&self) -> WhisperSource
fn clone(&self) -> WhisperSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WhisperSource
impl Debug for WhisperSource
impl Copy for WhisperSource
Auto Trait Implementations§
impl RefUnwindSafe for WhisperSource
impl Send for WhisperSource
impl Sync for WhisperSource
impl Unpin for WhisperSource
impl UnwindSafe for WhisperSource
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