diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-01-16 20:09:08 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-01-16 20:09:08 +0000 |
commit | e0e80050091ea7f58ae17c69f31d1b5de5e0ae20 (patch) | |
tree | 04680fb1ae1f709c477e998b326f147b2b1a9802 /scripts/xy_grid.py | |
parent | 9991967f40120b88a1dc925fdf7d747d5e016888 (diff) | |
download | stable-diffusion-webui-gfx803-e0e80050091ea7f58ae17c69f31d1b5de5e0ae20.tar.gz stable-diffusion-webui-gfx803-e0e80050091ea7f58ae17c69f31d1b5de5e0ae20.tar.bz2 stable-diffusion-webui-gfx803-e0e80050091ea7f58ae17c69f31d1b5de5e0ae20.zip |
make StableDiffusionProcessing class not hold a reference to shared.sd_model object
Diffstat (limited to 'scripts/xy_grid.py')
-rw-r--r-- | scripts/xy_grid.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/xy_grid.py b/scripts/xy_grid.py index bf4ba92f..6629f5d5 100644 --- a/scripts/xy_grid.py +++ b/scripts/xy_grid.py @@ -86,7 +86,6 @@ 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):
|