mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-30 05:41:11 -08:00
XY grid correctly re-assignes model when config changes
This commit is contained in:
parent
708c3a7bd8
commit
49533eed9e
2 changed files with 4 additions and 3 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue