fix xyz checkpoint

This commit is contained in:
w-e-w 2023-05-15 00:31:34 +09:00
parent 89f9faa633
commit a98ae89bde

View File

@ -86,7 +86,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):