Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
disable sync
Browse files
app.py
CHANGED
@@ -207,8 +207,8 @@ def read_root():
|
|
207 |
return "Just a bot to sync data from diffusers gallery"
|
208 |
|
209 |
|
210 |
-
@app.on_event("startup")
|
211 |
-
@repeat_every(seconds=60 * 60 * 24, wait_first=True)
|
212 |
-
async def repeat_sync():
|
213 |
-
|
214 |
-
|
|
|
207 |
return "Just a bot to sync data from diffusers gallery"
|
208 |
|
209 |
|
210 |
+
# @app.on_event("startup")
|
211 |
+
# @repeat_every(seconds=60 * 60 * 24, wait_first=True)
|
212 |
+
# async def repeat_sync():
|
213 |
+
# await sync_data()
|
214 |
+
# return "Synced data to huggingface datasets"
|