Spaces:
Sleeping
Sleeping
Download app/core/config.py from MoodMate-AI/moodmate-api: direct link, hf CLI and curl.
- Browser
- Download file 388 Bytes
-
https://huggingface.co/spaces/MoodMate-AI/moodmate-api/resolve/main/app/core/config.py
- Command line
-
hf download hf://spaces/MoodMate-AI/moodmate-api/app/core/config.py
-
curl -L -o config.py https://huggingface.co/spaces/MoodMate-AI/moodmate-api/resolve/main/app/core/config.py
388 Bytes
| from pydantic_settings import BaseSettings | |
| from typing import List | |
| class Settings(BaseSettings): | |
| API_V1_STR: str = "/api/v1" | |
| PROJECT_NAME: str = "MoodMate AI Engine" | |
| DATABASE_URL: str | |
| SUPABASE_URL: str | |
| SUPABASE_ANON_KEY: str | |
| ALLOWED_ORIGINS: List[str] = ["*"] | |
| class Config: | |
| env_file = ".env" | |
| case_sensitive = True | |
| settings = Settings() | |