Download app/config.py from OpenVar/backend: direct link, hf CLI and curl.
- Browser
- Download file 346 Bytes
-
https://huggingface.co/spaces/OpenVar/backend/resolve/main/app/config.py
- Command line
-
hf download hf://spaces/OpenVar/backend/app/config.py
-
curl -L -o config.py https://huggingface.co/spaces/OpenVar/backend/resolve/main/app/config.py
346 Bytes
| from pydantic_settings import BaseSettings | |
| from typing import Optional | |
| class Settings(BaseSettings): | |
| DATABASE_URL: str = "" | |
| SUPABASE_URL: str = "" | |
| SUPABASE_KEY: str = "" | |
| JWT_SECRET: str = "dev-secret-key-change-in-production" | |
| GENEBE_API_KEY: str = "" | |
| class Config: | |
| env_file = ".env" | |
| settings = Settings() | |