diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-18 15:10:04 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-18 15:10:04 +0000 |
commit | b270ded268c92950a35a7a326da54496ef4151c8 (patch) | |
tree | 935626eeb3687a1dbfa7a1d87db24819e25a1616 /modules/cmd_args.py | |
parent | be16d274f85a59b742f7480cdb79a596c972f598 (diff) | |
download | stable-diffusion-webui-gfx803-b270ded268c92950a35a7a326da54496ef4151c8.tar.gz stable-diffusion-webui-gfx803-b270ded268c92950a35a7a326da54496ef4151c8.tar.bz2 stable-diffusion-webui-gfx803-b270ded268c92950a35a7a326da54496ef4151c8.zip |
fix the issue with /sdapi/v1/options failing (this time for sure!)
fix automated tests downloading CLIP model
Diffstat (limited to 'modules/cmd_args.py')
-rw-r--r-- | modules/cmd_args.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/cmd_args.py b/modules/cmd_args.py index ae78f469..e401f641 100644 --- a/modules/cmd_args.py +++ b/modules/cmd_args.py @@ -15,6 +15,7 @@ parser.add_argument("--update-check", action='store_true', help="launch.py argum parser.add_argument("--test-server", action='store_true', help="launch.py argument: configure server for testing")
parser.add_argument("--skip-prepare-environment", action='store_true', help="launch.py argument: skip all environment preparation")
parser.add_argument("--skip-install", action='store_true', help="launch.py argument: skip installation of packages")
+parser.add_argument("--do-not-download-clip", action='store_true', help="do not download CLIP model even if it's not included in the checkpoint")
parser.add_argument("--data-dir", type=str, default=os.path.dirname(os.path.dirname(os.path.realpath(__file__))), help="base path where all user data is stored")
parser.add_argument("--config", type=str, default=sd_default_config, help="path to config which constructs model",)
parser.add_argument("--ckpt", type=str, default=sd_model_file, help="path to checkpoint of stable diffusion model; if specified, this checkpoint will be added to the list of checkpoints and loaded",)
|