diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-02-04 09:07:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-04 09:07:12 +0000 |
commit | c0e0b5844dfd8d1b0b97b49087600a5f6bd942e2 (patch) | |
tree | 4cb53a3e8c2138d826166ec3f63edbc7573fec64 /modules/sd_models.py | |
parent | dca632ab9057efc627e7fa019db83932246e1831 (diff) | |
parent | fb97acef63ef50d1612566e47c5c0ba4823bd29f (diff) | |
download | stable-diffusion-webui-gfx803-c0e0b5844dfd8d1b0b97b49087600a5f6bd942e2.tar.gz stable-diffusion-webui-gfx803-c0e0b5844dfd8d1b0b97b49087600a5f6bd942e2.tar.bz2 stable-diffusion-webui-gfx803-c0e0b5844dfd8d1b0b97b49087600a5f6bd942e2.zip |
Merge pull request #7470 from cbrownstein-lambda/update-error-message-no-checkpoint
Update error message WRT missing checkpoint file
Diffstat (limited to 'modules/sd_models.py')
-rw-r--r-- | modules/sd_models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_models.py b/modules/sd_models.py index 6c6bb571..0e61d323 100644 --- a/modules/sd_models.py +++ b/modules/sd_models.py @@ -161,7 +161,7 @@ def select_checkpoint(): print(f" - directory {model_path}", file=sys.stderr)
if shared.cmd_opts.ckpt_dir is not None:
print(f" - directory {os.path.abspath(shared.cmd_opts.ckpt_dir)}", file=sys.stderr)
- print("Can't run without a checkpoint. Find and place a .ckpt file into any of those locations. The program will exit.", file=sys.stderr)
+ print("Can't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations. The program will exit.", file=sys.stderr)
exit(1)
checkpoint_info = next(iter(checkpoints_list.values()))
|