Spaces:
Running
on
Zero
Running
on
Zero
mrfakename
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -252,7 +252,7 @@ def sync_db():
|
|
252 |
token=os.getenv('HF_TOKEN')
|
253 |
)
|
254 |
while True:
|
255 |
-
time.sleep(60 *
|
256 |
print("Uploading DB")
|
257 |
api.upload_file(
|
258 |
path_or_fileobj='database.db',
|
|
|
252 |
token=os.getenv('HF_TOKEN')
|
253 |
)
|
254 |
while True:
|
255 |
+
time.sleep(60 * 30)
|
256 |
print("Uploading DB")
|
257 |
api.upload_file(
|
258 |
path_or_fileobj='database.db',
|