XY grid correctly re-assignes model when config changes

This commit is contained in:
random_thoughtss
2022-10-20 16:01:27 -07:00
parent 708c3a7bd8
commit 49533eed9e
2 changed files with 4 additions and 3 deletions

View File

@@ -89,6 +89,7 @@ def apply_checkpoint(p, x, xs):
if info is None:
raise RuntimeError(f"Unknown checkpoint: {x}")
modules.sd_models.reload_model_weights(shared.sd_model, info)
p.sd_model = shared.sd_model
def confirm_checkpoints(p, xs):