Spaces:
Configuration error
Configuration error
new update
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from huggingface_hub import login
|
|
8 |
|
9 |
# Authenticate with the access token
|
10 |
|
11 |
-
login("
|
12 |
|
13 |
# Retrieve token securely
|
14 |
token = os.getenv("HF_ACCESS_TOKEN")
|
|
|
8 |
|
9 |
# Authenticate with the access token
|
10 |
|
11 |
+
login("HF_ACCESS_TOKEN", add_to_git_credential=True)
|
12 |
|
13 |
# Retrieve token securely
|
14 |
token = os.getenv("HF_ACCESS_TOKEN")
|