aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/img2img.py1
-rw-r--r--modules/processing.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/modules/img2img.py b/modules/img2img.py
index 15e35093..e3109121 100644
--- a/modules/img2img.py
+++ b/modules/img2img.py
@@ -63,7 +63,6 @@ def img2img(prompt: str, negative_prompt: str, prompt_style: str, init_img, init
inpaint_full_res=inpaint_full_res,
inpainting_mask_invert=inpainting_mask_invert,
extra_generation_params={
- "Denoising strength": denoising_strength,
"Denoising strength change factor": (denoising_strength_change_factor if is_loopback else None)
}
)
diff --git a/modules/processing.py b/modules/processing.py
index 17b4a37b..92bf66f2 100644
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -194,6 +194,7 @@ def process_images(p: StableDiffusionProcessing) -> Processed:
"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}"),
+ "Denoising strength": getattr(p, 'denoising_strength', None),
}
if p.extra_generation_params is not None: