Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
0759b36
1
Parent(s):
6cd7175
Update app.py
Browse files
app.py
CHANGED
@@ -145,7 +145,7 @@ def backup_db_csv():
|
|
145 |
pd.DataFrame(reviews).to_csv("./reviews2.csv", index=False)
|
146 |
print("updating db csv")
|
147 |
dataset = load_dataset("csv", data_files="./reviews2.csv")
|
148 |
-
repo.push_to_hub("CognitiveScience/csdhdata", blocking=False
|
149 |
|
150 |
#def load_data2():
|
151 |
# db = sqlite3.connect(DB_FILE)
|
|
|
145 |
pd.DataFrame(reviews).to_csv("./reviews2.csv", index=False)
|
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 |
|
150 |
#def load_data2():
|
151 |
# db = sqlite3.connect(DB_FILE)
|