aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorcatalpaaa <caojingzifang@gmail.com>2023-04-25 14:27:24 +0000
committercatalpaaa <caojingzifang@gmail.com>2023-04-25 14:27:24 +0000
commitb2f6e0704e178f64881f507f3a48ff36e63e1a62 (patch)
tree1ec84318fdb6083fec0bdbe1eb23524e00d3057a /modules
parent22bcc7be428c94e9408f589966c2040187245d81 (diff)
downloadstable-diffusion-webui-gfx803-b2f6e0704e178f64881f507f3a48ff36e63e1a62.tar.gz
stable-diffusion-webui-gfx803-b2f6e0704e178f64881f507f3a48ff36e63e1a62.tar.bz2
stable-diffusion-webui-gfx803-b2f6e0704e178f64881f507f3a48ff36e63e1a62.zip
add subpath support
Diffstat (limited to 'modules')
-rw-r--r--modules/cmd_args.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/cmd_args.py b/modules/cmd_args.py
index 81c0b82a..bdf106bf 100644
--- a/modules/cmd_args.py
+++ b/modules/cmd_args.py
@@ -101,3 +101,4 @@ parser.add_argument("--no-gradio-queue", action='store_true', help="Disables gra
parser.add_argument("--skip-version-check", action='store_true', help="Do not check versions of torch and xformers")
parser.add_argument("--no-hashing", action='store_true', help="disable sha256 hashing of checkpoints to help loading performance", default=False)
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)
+parser.add_argument('--subpath', type=str, help='customize the subpath for gradio, use with reverse proxy') \ No newline at end of file