multimodalart HF staff commited on
Commit
496ffe5
·
verified ·
1 Parent(s): 10e7dfd

Increase max size of queue

Browse files
Files changed (1) hide show
  1. hg_app.py +1 -1
hg_app.py CHANGED
@@ -418,6 +418,6 @@ if __name__ == '__main__':
418
  app.mount("/static", StaticFiles(directory=static_dir), name="static")
419
 
420
  demo = build_app()
421
- demo.queue(max_size=3)
422
  app = gr.mount_gradio_app(app, demo, path="/")
423
  uvicorn.run(app, host=IP, port=PORT)
 
418
  app.mount("/static", StaticFiles(directory=static_dir), name="static")
419
 
420
  demo = build_app()
421
+ demo.queue(max_size=10)
422
  app = gr.mount_gradio_app(app, demo, path="/")
423
  uvicorn.run(app, host=IP, port=PORT)