Download config.py from rfannn/test: direct link, hf CLI and curl.
- Browser
- Download file 429 Bytes
-
https://huggingface.co/spaces/rfannn/test/resolve/main/config.py
- Command line
-
hf download hf://spaces/rfannn/test/config.py
-
curl -L -o config.py https://huggingface.co/spaces/rfannn/test/resolve/main/config.py
429 Bytes
| import os | |
| BALE_TOKEN = os.getenv("BALE_TOKEN", "") | |
| OPENAI_API_KEY = os.getenv("OPENAI_API_KEY", "") | |
| WEBHOOK_URL = os.getenv("WEBHOOK_URL", "") | |
| APP_URL = os.getenv("APP_URL", "http://localhost:8000") | |
| ADMIN_IDS = os.getenv("ADMIN_IDS", "") | |
| BALE_API_BASE = "https://tapi.bale.ai/bot" | |
| MAX_FILE_SIZE = 0 | |
| DATA_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "data") | |
| DOWNLOAD_DIR = os.path.join(DATA_DIR, "downloads") | |