Update Whisper model configuration to use 'base' as the default model ID

This commit is contained in:
Alishahryar1 2026-02-18 19:36:58 -08:00
parent 9a18e4f1d8
commit c35ecba9d8
4 changed files with 6 additions and 8 deletions

View file

@ -78,10 +78,8 @@ class Settings(BaseSettings):
)
# Hugging Face token for faster model downloads (optional)
hf_token: str = Field(default="", validation_alias="HF_TOKEN")
# Hugging Face Whisper model ID (e.g. openai/whisper-large-v3-turbo) or short name
whisper_model: str = Field(
default="openai/whisper-large-v3-turbo", validation_alias="WHISPER_MODEL"
)
# Hugging Face Whisper model ID (e.g. openai/whisper-base) or short name
whisper_model: str = Field(default="base", validation_alias="WHISPER_MODEL")
# Device: "cpu" | "cuda"
whisper_device: str = Field(default="cpu", validation_alias="WHISPER_DEVICE")