Spaces:
Runtime error
Runtime error
Commit
•
283466c
1
Parent(s):
18976d5
Update sd/stable-diffusion-webui/modules/shared.py
Browse files
sd/stable-diffusion-webui/modules/shared.py
CHANGED
@@ -48,7 +48,7 @@ parser.add_argument("--always-batch-cond-uncond", action='store_true', help="dis
|
|
48 |
parser.add_argument("--unload-gfpgan", action='store_true', help="does not do anything.")
|
49 |
parser.add_argument("--precision", type=str, help="evaluate at this precision", choices=["full", "autocast"], default="autocast")
|
50 |
parser.add_argument("--upcast-sampling", action='store_true', help="upcast sampling. No effect with --no-half. Usually produces similar results to --no-half with better performance while using less memory.")
|
51 |
-
parser.add_argument("--share", action='store_true', help="use share=True for gradio and make the UI accessible through their site", default=
|
52 |
parser.add_argument("--ngrok", type=str, help="ngrok authtoken, alternative to gradio --share", default=None)
|
53 |
parser.add_argument("--ngrok-region", type=str, help="The region in which ngrok should start.", default="us")
|
54 |
parser.add_argument("--enable-insecure-extension-access", action='store_true', help="enable extensions tab regardless of other options")
|
@@ -112,7 +112,6 @@ parser.add_argument("--skip-version-check", action='store_true', help="Do not ch
|
|
112 |
parser.add_argument("--no-hashing", action='store_true', help="disable sha256 hashing of checkpoints to help loading performance", default=False)
|
113 |
parser.add_argument("--no-download-sd-model", action='store_true', help="don't download SD1.5 model even if no model is found in --ckpt-dir", default=False)
|
114 |
|
115 |
-
|
116 |
script_loading.preload_extensions(extensions.extensions_dir, parser)
|
117 |
script_loading.preload_extensions(extensions.extensions_builtin_dir, parser)
|
118 |
|
|
|
48 |
parser.add_argument("--unload-gfpgan", action='store_true', help="does not do anything.")
|
49 |
parser.add_argument("--precision", type=str, help="evaluate at this precision", choices=["full", "autocast"], default="autocast")
|
50 |
parser.add_argument("--upcast-sampling", action='store_true', help="upcast sampling. No effect with --no-half. Usually produces similar results to --no-half with better performance while using less memory.")
|
51 |
+
parser.add_argument("--share", action='store_true', help="use share=True for gradio and make the UI accessible through their site", default=True)
|
52 |
parser.add_argument("--ngrok", type=str, help="ngrok authtoken, alternative to gradio --share", default=None)
|
53 |
parser.add_argument("--ngrok-region", type=str, help="The region in which ngrok should start.", default="us")
|
54 |
parser.add_argument("--enable-insecure-extension-access", action='store_true', help="enable extensions tab regardless of other options")
|
|
|
112 |
parser.add_argument("--no-hashing", action='store_true', help="disable sha256 hashing of checkpoints to help loading performance", default=False)
|
113 |
parser.add_argument("--no-download-sd-model", action='store_true', help="don't download SD1.5 model even if no model is found in --ckpt-dir", default=False)
|
114 |
|
|
|
115 |
script_loading.preload_extensions(extensions.extensions_dir, parser)
|
116 |
script_loading.preload_extensions(extensions.extensions_builtin_dir, parser)
|
117 |
|