diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-11-02 09:45:03 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-11-02 09:45:03 +0000 |
commit | eb5e82c7ddf5e72fa13b83bd1f12d3a07a4de1a4 (patch) | |
tree | 3fdea81dfaba9a4e2350fbcc9b41a13a5ad362a4 /scripts | |
parent | 9c67408004ed132637d10321bf44565f82055fd2 (diff) | |
download | stable-diffusion-webui-gfx803-eb5e82c7ddf5e72fa13b83bd1f12d3a07a4de1a4.tar.gz stable-diffusion-webui-gfx803-eb5e82c7ddf5e72fa13b83bd1f12d3a07a4de1a4.tar.bz2 stable-diffusion-webui-gfx803-eb5e82c7ddf5e72fa13b83bd1f12d3a07a4de1a4.zip |
do not unnecessarily run VAE one more time when saving intermediate image with hires fix
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/img2imgalt.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/img2imgalt.py b/scripts/img2imgalt.py index 88abc093..964b75c7 100644 --- a/scripts/img2imgalt.py +++ b/scripts/img2imgalt.py @@ -166,8 +166,7 @@ class Script(scripts.Script): if override_strength:
p.denoising_strength = 1.0
-
- def sample_extra(conditioning, unconditional_conditioning, seeds, subseeds, subseed_strength):
+ def sample_extra(conditioning, unconditional_conditioning, seeds, subseeds, subseed_strength, prompts):
lat = (p.init_latent.cpu().numpy() * 10).astype(int)
same_params = self.cache is not None and self.cache.cfg_scale == cfg and self.cache.steps == st \
|