Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -54,6 +54,8 @@ from huggingface_hub import HfApi
|
|
54 |
from huggingface_hub import login
|
55 |
from huggingface_hub import revision_exists
|
56 |
|
|
|
|
|
57 |
|
58 |
api = HfApi()
|
59 |
repo_name = "paralym/pangea_logs"
|
|
|
54 |
from huggingface_hub import login
|
55 |
from huggingface_hub import revision_exists
|
56 |
|
57 |
+
login(token=os.environ["HF_TOKEN"],
|
58 |
+
write_permission=True)
|
59 |
|
60 |
api = HfApi()
|
61 |
repo_name = "paralym/pangea_logs"
|