Removing max_size on queue and add concurrency limit to 2

#15
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,5 +111,5 @@ with gr.Blocks() as demo:
111
  cache_examples=true_for_shared_ui
112
  )
113
 
114
- demo.queue(max_size=15)
115
  demo.launch(share=True)
 
111
  cache_examples=true_for_shared_ui
112
  )
113
 
114
+ demo.queue(max_size=None, concurrency_limit=2)
115
  demo.launch(share=True)