From 7c64783bbcfccebd8b9950a1b0a010b4d9afc96e Mon Sep 17 00:00:00 2001 From: anapnoe <124302297+anapnoe@users.noreply.github.com> Date: Mon, 8 May 2023 04:09:10 +0300 Subject: [PATCH] Update webui.py no_gradio_queue --- webui.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webui.py b/webui.py index a14cb50e..46df625d 100644 --- a/webui.py +++ b/webui.py @@ -302,7 +302,11 @@ def webui(): shared.demo = modules.ui.create_ui() startup_timer.record("create ui") - shared.demo.queue(concurrency_count=64) + if not cmd_opts.no_gradio_queue: + shared.demo.queue(concurrency_count=16) + else: + print('Server queues disabled') + shared.demo.progress_tracking = False gradio_auth_creds = [] if cmd_opts.gradio_auth: