playmak3r commited on
Commit
55ff064
·
1 Parent(s): f4b1b5b

Add demo queue and size configuration

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,4 +87,4 @@ demo = gr.Interface(
87
  )
88
 
89
  if __name__ == "__main__":
90
- demo.launch(allowed_paths=[SAMPLES_PATH], mcp_server=True, inbrowser=True)
 
87
  )
88
 
89
  if __name__ == "__main__":
90
+ demo.queue(max_size=10).launch(allowed_paths=[SAMPLES_PATH], mcp_server=True, inbrowser=True)