diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-01-04 10:46:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-04 10:46:21 +0000 |
commit | 77c3bc77479cb41be1fbae310d073da4b43530c1 (patch) | |
tree | 290e6708f551e0963596232a18bd32807429f677 /modules/processing.py | |
parent | 4ec6470a1a2d9430b91266426f995e48f59564e1 (diff) | |
parent | e5b7ee910e7bb88f08e8876b5732cb034c6fe529 (diff) | |
download | stable-diffusion-webui-gfx803-77c3bc77479cb41be1fbae310d073da4b43530c1.tar.gz stable-diffusion-webui-gfx803-77c3bc77479cb41be1fbae310d073da4b43530c1.tar.bz2 stable-diffusion-webui-gfx803-77c3bc77479cb41be1fbae310d073da4b43530c1.zip |
Merge pull request #6298 from stysmmaker/fix/intermediate-step-full-res
Save full resolution of intermediate step
Diffstat (limited to 'modules/processing.py')
-rw-r--r-- | modules/processing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py index a172af0b..93e75ba6 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -705,7 +705,7 @@ class StableDiffusionProcessingTxt2Img(StableDiffusionProcessing): return
if not isinstance(image, Image.Image):
- image = sd_samplers.sample_to_image(image, index)
+ image = sd_samplers.sample_to_image(image, index, approximation=0)
images.save_image(image, self.outpath_samples, "", seeds[index], prompts[index], opts.samples_format, suffix="-before-highres-fix")
|