aaditya commited on
Commit
cd9399f
·
verified ·
1 Parent(s): e8f77ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -358,7 +358,7 @@ scheduler = BackgroundScheduler()
358
  scheduler.add_job(restart_space, "interval", seconds=6 * 60 * 60)
359
 
360
  scheduler.start()
361
- demo.queue().launch()
362
 
363
  # demo.launch(show_api=False, enable_queue=False)
364
- # demo.launch(enable_queue=False).queue() # TypeError: Blocks.launch() got an unexpected keyword argument 'enable_queue'
 
358
  scheduler.add_job(restart_space, "interval", seconds=6 * 60 * 60)
359
 
360
  scheduler.start()
361
+ # demo.queue(default_concurrency_limit=40).launch()
362
 
363
  # demo.launch(show_api=False, enable_queue=False)
364
+ demo.launch() # TypeError: Blocks.launch() got an unexpected keyword argument 'enable_queue'