Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,10 +13,11 @@
|
|
13 |
import os
|
14 |
from huggingface_hub import logging, login
|
15 |
|
16 |
-
#
|
17 |
#login(token=os.environ.get("new_data_token"), write_permission=True)
|
18 |
#login(token=os.environ.get("data_token")) # this is a new fine_grained token
|
19 |
-
|
|
|
20 |
|
21 |
login(token=os.getenv("new_data_token"), write_permission=True)
|
22 |
#logging.set_verbosity_debug()
|
|
|
13 |
import os
|
14 |
from huggingface_hub import logging, login
|
15 |
|
16 |
+
# The access token must be saved in the secrets of this space first
|
17 |
#login(token=os.environ.get("new_data_token"), write_permission=True)
|
18 |
#login(token=os.environ.get("data_token")) # this is a new fine_grained token
|
19 |
+
|
20 |
+
#login(token=os.getenv("data_token")) # this is a new fine_grained token
|
21 |
|
22 |
login(token=os.getenv("new_data_token"), write_permission=True)
|
23 |
#logging.set_verbosity_debug()
|