Spaces:
Runtime error
Runtime error
Commit
·
341a79f
1
Parent(s):
4e5aa69
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,14 +35,14 @@ DB_FILE = "./reviewsE.db"
|
|
| 35 |
TOKEN = os.environ.get('HF_KEY')
|
| 36 |
print ("TOKE--1")
|
| 37 |
#TOKENR=os.environ.get('RA_TOKEN')
|
| 38 |
-
print (TOKEN[-1])
|
| 39 |
#TOKEN2 = HF_TOKEN
|
| 40 |
|
| 41 |
repo = huggingface_hub.Repository(
|
| 42 |
local_dir="data",
|
| 43 |
repo_type="dataset",
|
| 44 |
clone_from="CognitiveScience/csdhdata",
|
| 45 |
-
use_auth_token=TOKEN
|
| 46 |
)
|
| 47 |
repo.git_pull()
|
| 48 |
|
|
|
|
| 35 |
TOKEN = os.environ.get('HF_KEY')
|
| 36 |
print ("TOKE--1")
|
| 37 |
#TOKENR=os.environ.get('RA_TOKEN')
|
| 38 |
+
#print (TOKEN[-1])
|
| 39 |
#TOKEN2 = HF_TOKEN
|
| 40 |
|
| 41 |
repo = huggingface_hub.Repository(
|
| 42 |
local_dir="data",
|
| 43 |
repo_type="dataset",
|
| 44 |
clone_from="CognitiveScience/csdhdata",
|
| 45 |
+
use_auth_token="TOKEN"
|
| 46 |
)
|
| 47 |
repo.git_pull()
|
| 48 |
|