Spaces:
Runtime error
Runtime error
Download core/config.py from AumCoreAI/AumCore-AI: direct link, hf CLI and curl.
- Browser
- Download file 407 Bytes
-
https://huggingface.co/spaces/AumCoreAI/AumCore-AI/resolve/main/core/config.py
- Command line
-
hf download hf://spaces/AumCoreAI/AumCore-AI/core/config.py
-
curl -L -o config.py https://huggingface.co/spaces/AumCoreAI/AumCore-AI/resolve/main/core/config.py
407 Bytes
| # config.py - Without tokens | |
| import os | |
| class Settings: | |
| GROQ_API_KEY = os.getenv("GROQ_API_KEY") | |
| HF_TOKEN = os.getenv("HF_TOKEN") | |
| GITHUB_TOKEN = os.getenv("GITHUB_TOKEN") | |
| TIDB_HOST = "gateway01.ap-southeast-1.prod.aws.tidbcloud.com" | |
| TIDB_PORT = 4000 | |
| TIDB_USER = "2Rg6kfo2rNEB3PN.root" | |
| TIDB_PASSWORD = os.getenv("TIDB_PASSWORD") | |
| TIDB_DATABASE = "test" | |
| settings = Settings() | |