clementsan commited on
Commit
89acda9
1 Parent(s): 3ca2785

Fix: replace deprecated concurency_count to concurrency_limit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -231,7 +231,7 @@ def demo():
231
  msg.submit(conversation, [msg, chatbot], [msg, chatbot], queue=False)
232
  submit_btn.click(conversation, inputs=[msg, chatbot], outputs=[msg, chatbot], queue=False)
233
  clear_btn.click(lambda: None, None, chatbot, queue=False)
234
- demo.queue(concurrency_count=20).launch(debug=True)
235
 
236
 
237
  if __name__ == "__main__":
 
231
  msg.submit(conversation, [msg, chatbot], [msg, chatbot], queue=False)
232
  submit_btn.click(conversation, inputs=[msg, chatbot], outputs=[msg, chatbot], queue=False)
233
  clear_btn.click(lambda: None, None, chatbot, queue=False)
234
+ demo.queue(concurrency_limit=10).launch(debug=True)
235
 
236
 
237
  if __name__ == "__main__":