Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
|
@@ -223,7 +223,7 @@ def sync_db():
|
|
| 223 |
token=os.getenv('HF_TOKEN')
|
| 224 |
)
|
| 225 |
while True:
|
| 226 |
-
time.sleep(5)
|
| 227 |
print("Uploading DB")
|
| 228 |
api.upload_file(
|
| 229 |
path_or_fileobj='database.db',
|
|
|
|
| 223 |
token=os.getenv('HF_TOKEN')
|
| 224 |
)
|
| 225 |
while True:
|
| 226 |
+
time.sleep(60 * 5)
|
| 227 |
print("Uploading DB")
|
| 228 |
api.upload_file(
|
| 229 |
path_or_fileobj='database.db',
|