Spaces:
No application file
No application file
Download interface.py from Adi-19/SupportEnv: direct link, hf CLI and curl.
- Browser
- Download file 188 Bytes
-
https://huggingface.co/spaces/Adi-19/SupportEnv/resolve/main/interface.py
- Command line
-
hf download hf://spaces/Adi-19/SupportEnv/interface.py
-
curl -L -o interface.py https://huggingface.co/spaces/Adi-19/SupportEnv/resolve/main/interface.py
188 Bytes
| import os | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| class Config: | |
| def get_hf_token(): | |
| # Return the provided HF token | |
| return os.getenv("HF_TOKEN") | |