Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -466,7 +466,7 @@ with gr.Blocks(title=t("title"), fill_width=True, js=_JS_INIT) as demo:
466
  api_chat,
467
  api_name="chat",
468
  concurrency_id="chat",
469
- concurrency_limit=64,
470
  )
471
 
472
 
@@ -474,7 +474,7 @@ if __name__ == "__main__":
474
  # Guarded so that ``import app`` (e.g. from tests or docs tooling)
475
  # does not start a Gradio server as a side effect. HuggingFace Spaces
476
  # invokes ``python app.py`` so this entry point still runs there.
477
- demo.queue(default_concurrency_limit=64, max_size=128).launch(
478
  css=_FULL_CSS,
479
  ssr_mode=False,
480
  show_error=True,
 
466
  api_chat,
467
  api_name="chat",
468
  concurrency_id="chat",
469
+ concurrency_limit=400,
470
  )
471
 
472
 
 
474
  # Guarded so that ``import app`` (e.g. from tests or docs tooling)
475
  # does not start a Gradio server as a side effect. HuggingFace Spaces
476
  # invokes ``python app.py`` so this entry point still runs there.
477
+ demo.queue(default_concurrency_limit=400, max_size=1000).launch(
478
  css=_FULL_CSS,
479
  ssr_mode=False,
480
  show_error=True,