aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authorarcticfaded <jbelt021@fiu.edu>2022-10-17 06:58:42 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-17 11:34:22 +0300
commit60251c9456f5472784862896c2f97e38feb42482 (patch)
treee1dd2d60c6dd0d65cc35cce57ea2aabbee439bdb /modules/shared.py
parentcccc5a20fce4bde9a4299f8790366790735f1d05 (diff)
initial prototype by borrowing contracts
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py
index c2775603..6c6405fd 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -74,7 +74,7 @@ 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 instead of the webui")
cmd_opts = parser.parse_args()
restricted_opts = [