Commit 5b6dea56 authored by AUTOMATIC's avatar AUTOMATIC

do not show denoising strength when highres fix is not enabled

parent 028fc25f
...@@ -29,8 +29,8 @@ def txt2img(prompt: str, negative_prompt: str, prompt_style: str, prompt_style2: ...@@ -29,8 +29,8 @@ def txt2img(prompt: str, negative_prompt: str, prompt_style: str, prompt_style2:
restore_faces=restore_faces, restore_faces=restore_faces,
tiling=tiling, tiling=tiling,
enable_hr=enable_hr, enable_hr=enable_hr,
scale_latent=scale_latent, scale_latent=scale_latent if enable_hr else None,
denoising_strength=denoising_strength, denoising_strength=denoising_strength if enable_hr else None,
) )
print(f"\ntxt2img: {prompt}", file=shared.progress_print_out) print(f"\ntxt2img: {prompt}", file=shared.progress_print_out)
......
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