Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ import time
|
|
| 10 |
from huggingface_hub import HfApi
|
| 11 |
|
| 12 |
# Get the HF_TOKEN from your Space's environment variables
|
| 13 |
-
|
| 14 |
|
| 15 |
# Initialize the Hugging Face API client
|
| 16 |
api = HfApi()
|
|
|
|
| 10 |
from huggingface_hub import HfApi
|
| 11 |
|
| 12 |
# Get the HF_TOKEN from your Space's environment variables
|
| 13 |
+
token = #os.environ.get("HF_TOKEN")
|
| 14 |
|
| 15 |
# Initialize the Hugging Face API client
|
| 16 |
api = HfApi()
|