diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-01-21 15:47:54 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-01-21 15:47:54 +0000 |
commit | 63b824376c49013880ff44c260ea426e2899511e (patch) | |
tree | a2c67d49d2c6d8be4523c69a25ab3f1ca231da48 /webui.py | |
parent | 424cefe11878c9c7d2663381441e7efe62532180 (diff) | |
download | stable-diffusion-webui-gfx803-63b824376c49013880ff44c260ea426e2899511e.tar.gz stable-diffusion-webui-gfx803-63b824376c49013880ff44c260ea426e2899511e.tar.bz2 stable-diffusion-webui-gfx803-63b824376c49013880ff44c260ea426e2899511e.zip |
add --gradio-queue option to enable gradio queue
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -169,6 +169,9 @@ def webui(): shared.demo = modules.ui.create_ui()
+ if cmd_opts.gradio_queue:
+ shared.demo.queue(64)
+
app, local_url, share_url = shared.demo.launch(
share=cmd_opts.share,
server_name=server_name,
|