CoolFace
Apppublic

lcamara/deployMLModel

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
config.py14 linesDownload Raw Back to app
1"""Application settings — loaded from environment variables / .env file."""2 3from pydantic_settings import BaseSettings4 5 6class Settings(BaseSettings):7    database_url: str = "postgresql+psycopg://ml_user:ml_password@localhost:5432/ml_deploy"8    app_env: str = "dev"9 10    model_config = {"env_file": ".env", "env_file_encoding": "utf-8", "extra": "ignore"}11 12 13settings = Settings()14