diff options
author | Ryan Voots <simcop2387@simcop2387.info> | 2022-10-17 16:58:34 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-18 05:44:50 +0000 |
commit | 1df3ff25e6fe2e3f308e45f7a6dd37fb4f1988e6 (patch) | |
tree | e84d7ddd01f9c11cf38981637d2ee8e6f722c257 /modules | |
parent | 247aeb3aaaf2925c7d68a9cf47c975f3e6d3dd33 (diff) | |
download | stable-diffusion-webui-gfx803-1df3ff25e6fe2e3f308e45f7a6dd37fb4f1988e6.tar.gz stable-diffusion-webui-gfx803-1df3ff25e6fe2e3f308e45f7a6dd37fb4f1988e6.tar.bz2 stable-diffusion-webui-gfx803-1df3ff25e6fe2e3f308e45f7a6dd37fb4f1988e6.zip |
Add --nowebui as a means of disabling the webui and run on the other port
Diffstat (limited to 'modules')
-rw-r--r-- | modules/shared.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py index 6c6405fd..8b436970 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -74,7 +74,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 instead of the webui")
+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 = [
|