aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorGreendayle <Greendayle>2022-10-08 16:02:56 +0000
committerGreendayle <Greendayle>2022-10-08 16:02:56 +0000
commit01f8cb44474e454903c11718e6a4f33dbde34bb8 (patch)
tree3f0b30e2f356733b5d610d1fb4c4913c305c3af4 /modules/shared.py
parent5329d0aba0296f2fde4b5e6256dd27d46028a429 (diff)
downloadstable-diffusion-webui-gfx803-01f8cb44474e454903c11718e6a4f33dbde34bb8.tar.gz
stable-diffusion-webui-gfx803-01f8cb44474e454903c11718e6a4f33dbde34bb8.tar.bz2
stable-diffusion-webui-gfx803-01f8cb44474e454903c11718e6a4f33dbde34bb8.zip
made deepdanbooru optional, added to readme, automatic download of deepbooru model
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index 02cb2722..c87b726e 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -44,6 +44,7 @@ parser.add_argument("--scunet-models-path", type=str, help="Path to directory wi
parser.add_argument("--swinir-models-path", type=str, help="Path to directory with SwinIR model file(s).", default=os.path.join(models_path, 'SwinIR'))
parser.add_argument("--ldsr-models-path", type=str, help="Path to directory with LDSR model file(s).", default=os.path.join(models_path, 'LDSR'))
parser.add_argument("--xformers", action='store_true', help="enable xformers for cross attention layers")
+parser.add_argument("--deepdanbooru", action='store_true', help="enable deepdanbooru interrogator")
parser.add_argument("--opt-split-attention", action='store_true', help="force-enables cross-attention layer optimization. By default, it's on for torch.cuda and off for other torch devices.")
parser.add_argument("--disable-opt-split-attention", action='store_true', help="force-disables cross-attention layer optimization")
parser.add_argument("--opt-split-attention-v1", action='store_true', help="enable older version of split attention optimization that does not consume all the VRAM it can find")