agh123's picture
add fe
37d5f61
raw
history blame
358 Bytes
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()