from pydantic_settings import BaseSettings from functools import lru_cache class Settings(BaseSettings): API_URL: str = "https://a-ghorbani-ai-phone-benchmark-api.hf.space" HF_TOKEN: str class Config: case_sensitive = True env_file = ".env" @lru_cache() def get_settings(): return Settings() settings = get_settings()