diff options
author | Vladimir Repin <32306715+mezotaken@users.noreply.github.com> | 2022-10-20 20:49:14 +0000 |
---|---|---|
committer | Vladimir Repin <32306715+mezotaken@users.noreply.github.com> | 2022-10-20 20:49:14 +0000 |
commit | d23a46ceaa76af2847f11172f32c92665c268b1b (patch) | |
tree | cedbb2665b9b917692d53ff339df97e1a35a7b62 /modules/processing.py | |
parent | d1cb08bfb221cd1b0cfc6078162b4e206ea80a5c (diff) | |
download | stable-diffusion-webui-gfx803-d23a46ceaa76af2847f11172f32c92665c268b1b.tar.gz stable-diffusion-webui-gfx803-d23a46ceaa76af2847f11172f32c92665c268b1b.tar.bz2 stable-diffusion-webui-gfx803-d23a46ceaa76af2847f11172f32c92665c268b1b.zip |
Different approach to skip/interrupt with highres fix
Diffstat (limited to 'modules/processing.py')
-rw-r--r-- | modules/processing.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py index 6324ca91..bcb0c32c 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -587,7 +587,9 @@ class StableDiffusionProcessingTxt2Img(StableDiffusionProcessing): x = None
devices.torch_gc()
- return self.sampler.sample_img2img(self, samples, noise, conditioning, unconditional_conditioning, steps=self.steps) or samples
+ samples = self.sampler.sample_img2img(self, samples, noise, conditioning, unconditional_conditioning, steps=self.steps)
+
+ return samples
class StableDiffusionProcessingImg2Img(StableDiffusionProcessing):
|