Spaces:
Running on CPU Upgrade

lunarflu HF staff commited on
Commit
913ae71
·
verified ·
1 Parent(s): 500d61b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -233,7 +233,7 @@ async def give_verified_roles():
233
 
234
  thread_pool_executor = ThreadPoolExecutor(max_workers=2)
235
  asyncio_executor = AsyncIOExecutor()
236
- scheduler = BackgroundScheduler(executors={
237
  'default': thread_pool_executor,
238
  'asyncio': asyncio_executor
239
  })
 
233
 
234
  thread_pool_executor = ThreadPoolExecutor(max_workers=2)
235
  asyncio_executor = AsyncIOExecutor()
236
+ scheduler = AsyncIOScheduler(executors={
237
  'default': thread_pool_executor,
238
  'asyncio': asyncio_executor
239
  })