Spaces:
Runtime error
Runtime error
Commit
·
e5a7845
1
Parent(s):
4f7f7c5
Update app.py
Browse files
app.py
CHANGED
|
@@ -146,12 +146,12 @@ def backup_db_csv():
|
|
| 146 |
print("updating db csv")
|
| 147 |
dataset = load_dataset("csv", data_files="./reviews2.csv")
|
| 148 |
repo.push_to_hub("CognitiveScience/csdhdata", blocking=False) #, commit_message=f"Updating data-csv at {datetime.datetime.now()}")
|
| 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="./*.csv")
|
| 153 |
-
|
| 154 |
-
|
| 155 |
|
| 156 |
|
| 157 |
#def load_data2():
|
|
|
|
| 146 |
print("updating db csv")
|
| 147 |
dataset = load_dataset("csv", data_files="./reviews2.csv")
|
| 148 |
repo.push_to_hub("CognitiveScience/csdhdata", blocking=False) #, commit_message=f"Updating data-csv at {datetime.datetime.now()}")
|
| 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="./*.csv")
|
| 153 |
+
hf_hub_download(repo_id="CogSphere/aCogSphere", filename="./*.md")
|
| 154 |
+
hf_hub_download(repo_id="CognitiveScience/csdhdata", filename="./*.md")
|
| 155 |
|
| 156 |
|
| 157 |
#def load_data2():
|