mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
fix xyz checkpoint
This commit is contained in:
parent
89f9faa633
commit
a98ae89bde
@ -86,7 +86,7 @@ def apply_checkpoint(p, x, xs):
|
|||||||
info = modules.sd_models.get_closet_checkpoint_match(x)
|
info = modules.sd_models.get_closet_checkpoint_match(x)
|
||||||
if info is None:
|
if info is None:
|
||||||
raise RuntimeError(f"Unknown checkpoint: {x}")
|
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):
|
def confirm_checkpoints(p, xs):
|
||||||
|
Loading…
Reference in New Issue
Block a user