aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authorMalumaDev <piano.lu92@gmail.com>2022-10-19 10:22:39 +0200
committerGitHub <noreply@github.com>2022-10-19 10:22:39 +0200
commit2362d5f00eeecbe6a6f67fe6085da01a3d78e407 (patch)
tree763d0a836b63cc0155c4ca810f12db3af57eb448 /modules/shared.py
parentc2765c9bcd264f5a8922348cd03521cb2ff306b3 (diff)
parent1b91cbbc1163d3613aa329bed3aecd8e29ca52ca (diff)
Merge branch 'master' into test_resolve_conflicts
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 9fce264c..44bb68cf 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -79,6 +79,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 = [