Spaces:
Runtime error
Runtime error
| import os | |
| # Access environment variable | |
| access_token = os.getenv("HF_TOKEN") | |
| if access_token: | |
| print("HF_TOKEN value:", access_token) | |
| else: | |
| print("HF_TOKEN is not set.") | |