chansung commited on
Commit
e0250ec
1 Parent(s): baed7cf

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +4 -1
app/main.py CHANGED
@@ -20,7 +20,10 @@ def main(args):
20
  multimodal=False
21
  )
22
 
23
- demo.queue().launch(server_name="0.0.0.0", server_port=args.port)
 
 
 
24
 
25
  if __name__ == "__main__":
26
  parser = argparse.ArgumentParser(description="This is my Gradio app's description")
 
20
  multimodal=False
21
  )
22
 
23
+ demo.queue(
24
+ default_concurrency_limit=20,
25
+ max_size=256
26
+ ).launch(server_name="0.0.0.0", server_port=args.port)
27
 
28
  if __name__ == "__main__":
29
  parser = argparse.ArgumentParser(description="This is my Gradio app's description")