Spaces:
Sleeping
Sleeping
Commit
·
2c9c0ae
1
Parent(s):
7177172
Remove commented-out Hugging Face Hub login code for clarity
Browse files
app.py
CHANGED
@@ -17,9 +17,6 @@ from arxiv_stuff import ARXIV_CATEGORIES_FLAT
|
|
17 |
# Get HF_TOKEN from environment variables
|
18 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
19 |
|
20 |
-
# Login to Hugging Face Hub
|
21 |
-
# hf_hub_login(token=HF_TOKEN, add_to_git_credential=True)
|
22 |
-
|
23 |
# Check if using persistent storage
|
24 |
persistent_storage = os.path.exists("/data")
|
25 |
if persistent_storage:
|
|
|
17 |
# Get HF_TOKEN from environment variables
|
18 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
19 |
|
|
|
|
|
|
|
20 |
# Check if using persistent storage
|
21 |
persistent_storage = os.path.exists("/data")
|
22 |
if persistent_storage:
|