Commit 1b7e7877 authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub

Merge pull request #10382 from AUTOMATIC1111/fix_xyz_checkpoint

fix xyz checkpoint
parents 7001e1ed a98ae89b
......@@ -84,7 +84,7 @@ def apply_checkpoint(p, x, xs):
info = modules.sd_models.get_closet_checkpoint_match(x)
if info is None:
raise RuntimeError(f"Unknown checkpoint: {x}")
p.override_settings['sd_model_checkpoint'] = info.hash
p.override_settings['sd_model_checkpoint'] = info.name
def confirm_checkpoints(p, xs):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment