Spaces:
Runtime error
Runtime error
Download config.py from prlabs2023/text-to-image-new-14: direct link, hf CLI and curl.
- Browser
- Download file 299 Bytes
-
https://huggingface.co/spaces/prlabs2023/text-to-image-new-14/resolve/main/config.py
- Command line
-
hf download hf://spaces/prlabs2023/text-to-image-new-14/config.py
-
curl -L -o config.py https://huggingface.co/spaces/prlabs2023/text-to-image-new-14/resolve/main/config.py
299 Bytes
| from dotenv import load_dotenv | |
| import os | |
| load_dotenv(dotenv_path=".env") # Load environment variables from .env file | |
| # DATABASE_URL = os.getenv("DATABASE_URL") | |
| # OPENAI_API_KEY = os.getenv("OPENAI_API_KEY") | |
| # OCR_API_KEY = os.getenv("OCR_API_KEY") | |
| NGROK_AUTH_TOKEN = os.getenv("NGROK_AUTH_TOKEN") |