Commit 19a817d9 authored by AUTOMATIC's avatar AUTOMATIC

X/Y plot with denoising adds incorrect image data to individual outputs #331

parent 744ac1f8
...@@ -63,7 +63,6 @@ def img2img(prompt: str, negative_prompt: str, prompt_style: str, init_img, init ...@@ -63,7 +63,6 @@ def img2img(prompt: str, negative_prompt: str, prompt_style: str, init_img, init
inpaint_full_res=inpaint_full_res, inpaint_full_res=inpaint_full_res,
inpainting_mask_invert=inpainting_mask_invert, inpainting_mask_invert=inpainting_mask_invert,
extra_generation_params={ extra_generation_params={
"Denoising strength": denoising_strength,
"Denoising strength change factor": (denoising_strength_change_factor if is_loopback else None) "Denoising strength change factor": (denoising_strength_change_factor if is_loopback else None)
} }
) )
......
...@@ -194,6 +194,7 @@ def process_images(p: StableDiffusionProcessing) -> Processed: ...@@ -194,6 +194,7 @@ def process_images(p: StableDiffusionProcessing) -> Processed:
"Variation seed": (None if p.subseed_strength == 0 else all_subseeds[index]), "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), "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),
} }
if p.extra_generation_params is not None: if p.extra_generation_params is not None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment