zouzx commited on
Commit
5b4642b
1 Parent(s): 54c2fd6

update queue max size

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -199,7 +199,7 @@ def launch(port):
199
  outputs=[output_video])
200
 
201
  launch_args = {"server_port": port}
202
- demo.queue(max_size=1)
203
  demo.launch(auth=AUTH, **launch_args)
204
 
205
  if __name__ == "__main__":
 
199
  outputs=[output_video])
200
 
201
  launch_args = {"server_port": port}
202
+ demo.queue(max_size=20)
203
  demo.launch(auth=AUTH, **launch_args)
204
 
205
  if __name__ == "__main__":