From 6d354bb50b62d6ded5431a9097e6ca0db748678d Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 7 Aug 2023 23:57:25 -0300 Subject: [PATCH] Allow the webui to do multiple tasks simultaneously --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 414cd3ba..b477d4c1 100644 --- a/server.py +++ b/server.py @@ -140,7 +140,7 @@ def create_interface(): extensions_module.create_extensions_block() # Extensions block # Launch the interface - shared.gradio['interface'].queue() + shared.gradio['interface'].queue(concurrency_count=64) with OpenMonkeyPatch(): shared.gradio['interface'].launch( prevent_thread_lock=True,