diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-11-01 18:19:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 18:19:12 +0300 |
commit | d7622d97f213897a1e8fbebdfeae983dac06b043 (patch) | |
tree | 74e8e835aa854bbe4fb7bec6c0f39453e989ebf2 /modules/shared.py | |
parent | f071a1d25aa8b35bb6406a133df1d03ae5ea8d01 (diff) | |
parent | 095931afa43f9d469d711f7e67809a2c09a047bd (diff) |
Merge pull request #4004 from mamawr/master
Added "--clip-models-path" switch
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index 3fb36200..1ccb269a 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -51,6 +51,7 @@ parser.add_argument("--realesrgan-models-path", type=str, help="Path to director parser.add_argument("--scunet-models-path", type=str, help="Path to directory with ScuNET model file(s).", default=os.path.join(models_path, 'ScuNET'))
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("--clip-models-path", type=str, help="Path to directory with CLIP model file(s).", default=None)
parser.add_argument("--xformers", action='store_true', help="enable xformers for cross attention layers")
parser.add_argument("--force-enable-xformers", action='store_true', help="enable xformers for cross attention layers regardless of whether the checking code thinks you can run it; do not make bug reports if this fails to work")
parser.add_argument("--deepdanbooru", action='store_true', help="enable deepdanbooru interrogator")
|