Increase the capacity to let more people trying out the demo

#1
by xianbao HF staff - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -185,6 +185,6 @@ with gr.Blocks(css = ".output-image, .input-image, .image-preview {height: 400px
185
  if __name__ == "__main__":
186
  ip = requests.get('http://ifconfig.me/ip', timeout=1).text.strip()
187
  print("ip address alibaba", ip)
188
- demo.queue(max_size=3)
189
  demo.launch()
190
 
 
185
  if __name__ == "__main__":
186
  ip = requests.get('http://ifconfig.me/ip', timeout=1).text.strip()
187
  print("ip address alibaba", ip)
188
+ demo.queue(max_size=10, default_concurrency_limit=3)
189
  demo.launch()
190