WhisperModel enum

Available whisper models

Inheritance

Constructors

WhisperModel(String modelName)
const

Values

tiny → const WhisperModel

tiny model for all languages

const WhisperModel('tiny')
base → const WhisperModel

base model for all languages

const WhisperModel('base')
small → const WhisperModel

small model for all languages

const WhisperModel('small')
medium → const WhisperModel

medium model for all languages

const WhisperModel('medium')
large → const WhisperModel

large model for all languages

const WhisperModel('large')
tinyEn → const WhisperModel

tiny model for english only

const WhisperModel('tiny.en')
baseEn → const WhisperModel

base model for english only

const WhisperModel('base.en')
smallEn → const WhisperModel

small model for english only

const WhisperModel('small.en')
mediumEn → const WhisperModel

medium model for english only

const WhisperModel('medium.en')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
modelName String
Public name of model
final
modelUri Uri
Huggingface url to download model
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getPath(String dir) String
Get local path of model file
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<WhisperModel>
A constant List of the values in this enum, in order of their declaration.