aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_models.py
diff options
context:
space:
mode:
authorCody Brownstein <cody@lambdal.com>2023-02-01 22:46:13 +0000
committerCody Brownstein <cody@lambdal.com>2023-02-01 22:51:06 +0000
commitfb97acef63ef50d1612566e47c5c0ba4823bd29f (patch)
tree575c6395d6d911826db888eb49fb83248488518f /modules/sd_models.py
parent226d840e84c5f306350b0681945989b86760e616 (diff)
downloadstable-diffusion-webui-gfx803-fb97acef63ef50d1612566e47c5c0ba4823bd29f.tar.gz
stable-diffusion-webui-gfx803-fb97acef63ef50d1612566e47c5c0ba4823bd29f.tar.bz2
stable-diffusion-webui-gfx803-fb97acef63ef50d1612566e47c5c0ba4823bd29f.zip
Update error message WRT missing checkpoint file
The Safetensors format is also supported.
Diffstat (limited to 'modules/sd_models.py')
-rw-r--r--modules/sd_models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_models.py b/modules/sd_models.py
index 300387a9..45c8b0c2 100644
--- a/modules/sd_models.py
+++ b/modules/sd_models.py
@@ -158,7 +158,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()))