KaiChen1998 commited on
Commit
8dedaf7
·
verified ·
1 Parent(s): 9867aeb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -529,7 +529,8 @@ args = parser.parse_args()
529
  demo = build_demo(args.embed)
530
  demo.queue(
531
  max_size=10,
532
- api_open=False
 
533
  ).launch(
534
  favicon_path="./examples/icon_256.png",
535
  allowed_paths=["/"],
 
529
  demo = build_demo(args.embed)
530
  demo.queue(
531
  max_size=10,
532
+ api_open=False,
533
+ default_concurrency_limit=2, # TODO
534
  ).launch(
535
  favicon_path="./examples/icon_256.png",
536
  allowed_paths=["/"],