aboutsummaryrefslogtreecommitdiff
path: root/modules/sd_models.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-02-04 12:07:12 +0300
committerGitHub <noreply@github.com>2023-02-04 12:07:12 +0300
commitc0e0b5844dfd8d1b0b97b49087600a5f6bd942e2 (patch)
tree4cb53a3e8c2138d826166ec3f63edbc7573fec64 /modules/sd_models.py
parentdca632ab9057efc627e7fa019db83932246e1831 (diff)
parentfb97acef63ef50d1612566e47c5c0ba4823bd29f (diff)
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.py2
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()))