radames commited on
Commit
28f1592
1 Parent(s): cf41b19

disable sync

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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
- await sync_data()
214
- return "Synced data to huggingface datasets"
 
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"