aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authordiscus0434 <66945496+discus0434@users.noreply.github.com>2022-10-19 05:56:27 +0000
committerGitHub <noreply@github.com>2022-10-19 05:56:27 +0000
commit5d16f5979434bc8ee7f0301b3d6de74ac99a6b3f (patch)
treebcf9647f6bae094bbca09c6887c375b9655d5139 /modules/shared.py
parente40ba281f1b419cf99552962ea01d87d699840a5 (diff)
parent5daf9cbb98cc13b5e4b74cd01ffa5146b5745bc9 (diff)
downloadstable-diffusion-webui-gfx803-5d16f5979434bc8ee7f0301b3d6de74ac99a6b3f.tar.gz
stable-diffusion-webui-gfx803-5d16f5979434bc8ee7f0301b3d6de74ac99a6b3f.tar.bz2
stable-diffusion-webui-gfx803-5d16f5979434bc8ee7f0301b3d6de74ac99a6b3f.zip
Merge branch 'master' into master
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index 6b6d5c41..0540cae9 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -76,6 +76,8 @@ parser.add_argument("--disable-console-progressbars", action='store_true', help=
parser.add_argument("--enable-console-prompts", action='store_true', help="print prompts to console when generating with txt2img and img2img", default=False)
parser.add_argument('--vae-path', type=str, help='Path to Variational Autoencoders model', default=None)
parser.add_argument("--disable-safe-unpickle", action='store_true', help="disable checking pytorch models for malicious code", default=False)
+parser.add_argument("--api", action='store_true', help="use api=True to launch the api with the webui")
+parser.add_argument("--nowebui", action='store_true', help="use api=True to launch the api instead of the webui")
cmd_opts = parser.parse_args()
restricted_opts = [