Add concurrency limit to allow multiple users to use at once, reduce queue times

#21
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -217,7 +217,7 @@ def sadtalker_demo():
217
  if __name__ == "__main__":
218
 
219
  demo = sadtalker_demo()
220
- demo.queue(max_size=10)
221
  demo.launch(debug=True)
222
 
223
 
 
217
  if __name__ == "__main__":
218
 
219
  demo = sadtalker_demo()
220
+ demo.queue(max_size=10, default_concurrency_limit=5)
221
  demo.launch(debug=True)
222
 
223