Spaces:
Runtime error
Runtime error
Download config.py from rishi1985/text-embeding-9-a: direct link, hf CLI and curl.
- Browser
- Download file 299 Bytes
-
https://huggingface.co/spaces/rishi1985/text-embeding-9-a/resolve/main/config.py
- Command line
-
hf download hf://spaces/rishi1985/text-embeding-9-a/config.py
-
curl -L -o config.py https://huggingface.co/spaces/rishi1985/text-embeding-9-a/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") |