aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-10-09 19:30:59 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-10-09 19:31:35 +0000
commit8d340cfb884e1dbff5b6f477f4ecf7d104279115 (patch)
tree9bdb0150adb9eab6d15ef568e446afb70332a00e /modules
parent84ddd44113b36062e8ba6cb2e5db0fce4f48efb8 (diff)
downloadstable-diffusion-webui-gfx803-8d340cfb884e1dbff5b6f477f4ecf7d104279115.tar.gz
stable-diffusion-webui-gfx803-8d340cfb884e1dbff5b6f477f4ecf7d104279115.tar.bz2
stable-diffusion-webui-gfx803-8d340cfb884e1dbff5b6f477f4ecf7d104279115.zip
do not add clip skip to parameters if it's 1 or 0
Diffstat (limited to 'modules')
-rw-r--r--modules/processing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py
index 92a105a2..94d2dd62 100644
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -293,7 +293,7 @@ def create_infotext(p, all_prompts, all_seeds, all_subseeds, comments, iteration
"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),
"Eta": (None if p.sampler is None or p.sampler.eta == p.sampler.default_eta else p.sampler.eta),
- "Clip skip": None if clip_skip==0 else clip_skip,
+ "Clip skip": None if clip_skip <= 1 else clip_skip,
}
generation_params.update(p.extra_generation_params)