Spaces:
Sleeping
Sleeping
Download interface.py from yashshinde0080/SupportEnv: direct link, hf CLI and curl.
- Browser
- Download file 188 Bytes
-
https://huggingface.co/spaces/yashshinde0080/SupportEnv/resolve/main/interface.py
- Command line
-
hf download hf://spaces/yashshinde0080/SupportEnv/interface.py
-
curl -L -o interface.py https://huggingface.co/spaces/yashshinde0080/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") | |