from pydantic import BaseSettings, Field class WhisperSettings(BaseSettings): """Whisper Application Settings. All environment varaibles supplied should be prefixed with "WHISPER_". """ base_asr_model: str = Field( default="medium.en", description="The base whisper model to host." ) class Config: env_prefix = "WHISPER_" whisper_settings = WhisperSettings()