Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -316,7 +316,7 @@ def read_root():
|
|
316 |
|
317 |
|
318 |
@app.on_event("startup")
|
319 |
-
@repeat_every(seconds=60 * 60 *
|
320 |
async def repeat_sync():
|
321 |
await sync_data()
|
322 |
return "Synced data to huggingface datasets"
|
|
|
316 |
|
317 |
|
318 |
@app.on_event("startup")
|
319 |
+
@repeat_every(seconds=60 * 60 * 6, wait_first=False)
|
320 |
async def repeat_sync():
|
321 |
await sync_data()
|
322 |
return "Synced data to huggingface datasets"
|