Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
mrfakename
commited on
Commit
•
ef548f2
1
Parent(s):
29874d6
Update app.py
Browse files
app.py
CHANGED
@@ -225,11 +225,6 @@ def sync_db():
|
|
225 |
while True:
|
226 |
time.sleep(5)
|
227 |
print("Uploading DB")
|
228 |
-
api.delete_file(
|
229 |
-
path_in_repo='database.db',
|
230 |
-
repo_id=os.getenv('DATASET_ID'),
|
231 |
-
repo_type='dataset'
|
232 |
-
)
|
233 |
api.upload_file(
|
234 |
path_or_fileobj='database.db',
|
235 |
path_in_repo='database.db',
|
|
|
225 |
while True:
|
226 |
time.sleep(5)
|
227 |
print("Uploading DB")
|
|
|
|
|
|
|
|
|
|
|
228 |
api.upload_file(
|
229 |
path_or_fileobj='database.db',
|
230 |
path_in_repo='database.db',
|