aboutsummaryrefslogtreecommitdiffstats
path: root/modules/processing.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-07-08 11:19:34 +0000
committerGitHub <noreply@github.com>2023-07-08 11:19:34 +0000
commitfc049a2fd3fe4a7d5859ae004d81f30e59f42d06 (patch)
tree15af914a7967a317abd7d9e0975dc4b2c17376cd /modules/processing.py
parent522a8b9f629940a205812b5b023f25c051f3c8d8 (diff)
parentae74b44c69a40c3b2f2a91f5ee4160e6d8bbd31e (diff)
downloadstable-diffusion-webui-gfx803-fc049a2fd3fe4a7d5859ae004d81f30e59f42d06.tar.gz
stable-diffusion-webui-gfx803-fc049a2fd3fe4a7d5859ae004d81f30e59f42d06.tar.bz2
stable-diffusion-webui-gfx803-fc049a2fd3fe4a7d5859ae004d81f30e59f42d06.zip
Merge branch 'dev' into better-status-reporting-1
Diffstat (limited to 'modules/processing.py')
-rw-r--r--modules/processing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py
index 85e104aa..89ad1bd0 100644
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -575,7 +575,7 @@ def create_infotext(p, all_prompts, all_seeds, all_subseeds, comments=None, iter
"Model": (None if not opts.add_model_name_to_info or not shared.sd_model.sd_checkpoint_info.model_name else shared.sd_model.sd_checkpoint_info.model_name.replace(',', '').replace(':', '')),
"Variation seed": (None if p.subseed_strength == 0 else all_subseeds[index]),
"Variation seed strength": (None if p.subseed_strength == 0 else p.subseed_strength),
- "Seed resize from": (None if p.seed_resize_from_w == 0 or p.seed_resize_from_h == 0 else f"{p.seed_resize_from_w}x{p.seed_resize_from_h}"),
+ "Seed resize from": (None if p.seed_resize_from_w <= 0 or p.seed_resize_from_h <= 0 else f"{p.seed_resize_from_w}x{p.seed_resize_from_h}"),
"Denoising strength": getattr(p, 'denoising_strength', None),
"Conditional mask weight": getattr(p, "inpainting_mask_weight", shared.opts.inpainting_mask_weight) if p.is_using_inpainting_conditioning else None,
"Clip skip": None if clip_skip <= 1 else clip_skip,