Spaces:
Runtime error
Runtime error
Commit
·
d367c08
1
Parent(s):
d704d43
Update app.py
Browse files
app.py
CHANGED
@@ -39,10 +39,10 @@ repo = huggingface_hub.Repository(
|
|
39 |
)
|
40 |
repo.git_pull()
|
41 |
|
42 |
-
|
43 |
|
44 |
|
45 |
-
login(token=
|
46 |
|
47 |
# Set db to latest
|
48 |
#shutil.copyfile("./data/reviews01.db", DB_FILE)
|
@@ -149,7 +149,7 @@ def backup_db_csv():
|
|
149 |
#path1=hf_hub_url()
|
150 |
#print (path1)
|
151 |
#hf_hub_download(repo_id="CogSphere/aCogSphere", filename="./*.csv")
|
152 |
-
hf_hub_download(repo_id="CognitiveScience/csdhdata", filename="./*.
|
153 |
#hf_hub_download(repo_id="CogSphere/aCogSphere", filename="./*.md")
|
154 |
hf_hub_download(repo_id="CognitiveScience/csdhdata", filename="./*.md")
|
155 |
|
|
|
39 |
)
|
40 |
repo.git_pull()
|
41 |
|
42 |
+
TOKEN2 = "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" #
|
43 |
|
44 |
|
45 |
+
login(token=TOKEN2)
|
46 |
|
47 |
# Set db to latest
|
48 |
#shutil.copyfile("./data/reviews01.db", DB_FILE)
|
|
|
149 |
#path1=hf_hub_url()
|
150 |
#print (path1)
|
151 |
#hf_hub_download(repo_id="CogSphere/aCogSphere", filename="./*.csv")
|
152 |
+
hf_hub_download(repo_id="CognitiveScience/csdhdata", filename="./*.db")
|
153 |
#hf_hub_download(repo_id="CogSphere/aCogSphere", filename="./*.md")
|
154 |
hf_hub_download(repo_id="CognitiveScience/csdhdata", filename="./*.md")
|
155 |
|