Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
mrfakename
commited on
Commit
•
434d289
1
Parent(s):
5e67379
Update app.py
Browse files
app.py
CHANGED
@@ -203,7 +203,8 @@ def sync_db():
|
|
203 |
token=os.getenv('HF_TOKEN')
|
204 |
)
|
205 |
while True:
|
206 |
-
time.sleep(60 * 15)
|
|
|
207 |
print("Uploading DB")
|
208 |
api.upload_file(
|
209 |
path_or_fileobj='database.db',
|
|
|
203 |
token=os.getenv('HF_TOKEN')
|
204 |
)
|
205 |
while True:
|
206 |
+
# time.sleep(60 * 15)
|
207 |
+
time.sleep(30)
|
208 |
print("Uploading DB")
|
209 |
api.upload_file(
|
210 |
path_or_fileobj='database.db',
|