aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-05-01 09:48:28 +0000
committerAUTOMATIC <16777216c@gmail.com>2023-05-01 09:48:28 +0000
commit74d249f6dda1406abe99a61509a7aff6673eadbc (patch)
tree410320f9deee996a1940c181925f9fedd07173b8 /scripts
parent5e4a0e3d2413e49ad57972e1fc4b54b3109e310c (diff)
parent94754c60c5e4b63e0a656efcdd886ee5c34c24f2 (diff)
downloadstable-diffusion-webui-gfx803-74d249f6dda1406abe99a61509a7aff6673eadbc.tar.gz
stable-diffusion-webui-gfx803-74d249f6dda1406abe99a61509a7aff6673eadbc.tar.bz2
stable-diffusion-webui-gfx803-74d249f6dda1406abe99a61509a7aff6673eadbc.zip
Merge branch 'release_candidate' into dev
Diffstat (limited to 'scripts')
-rw-r--r--scripts/xyz_grid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xyz_grid.py b/scripts/xyz_grid.py
index 398065d9..cfc7737b 100644
--- a/scripts/xyz_grid.py
+++ b/scripts/xyz_grid.py
@@ -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}")
- modules.sd_models.reload_model_weights(shared.sd_model, info)
+ p.override_settings['sd_model_checkpoint'] = info.hash
def confirm_checkpoints(p, xs):