From 90e800a587fde1add99e6e173e230d36b4836bf0 Mon Sep 17 00:00:00 2001 From: awsr <43862868+awsr@users.noreply.github.com> Date: Fri, 7 Nov 2025 12:58:49 -0800 Subject: [PATCH] Fix Hires info text handling --- modules/processing_info.py | 2 +- modules/ui_control.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/processing_info.py b/modules/processing_info.py index 129595408..240b288a5 100644 --- a/modules/processing_info.py +++ b/modules/processing_info.py @@ -105,7 +105,7 @@ def create_infotext(p: StableDiffusionProcessing, all_prompts=None, all_seeds=No if p.hr_force or ('Latent' in p.hr_upscaler): args["Hires force"] = p.hr_force args["Hires steps"] = p.hr_second_pass_steps - args["Hires strength"] = p.denoising_strength + args["Hires strength"] = p.hr_denoising_strength args["Hires sampler"] = p.hr_sampler_name if p.hr_sampler_name != p.sampler_name else None args["Hires CFG scale"] = p.image_cfg_scale if 'refine' in p.ops: diff --git a/modules/ui_control.py b/modules/ui_control.py index f474a6ee2..0220412bf 100644 --- a/modules/ui_control.py +++ b/modules/ui_control.py @@ -375,8 +375,7 @@ def create_ui(_blocks: gr.Blocks=None): # second pass (enable_hr, "Second pass"), (enable_hr, "Refine"), - (denoising_strength, "Denoising strength"), - (denoising_strength, "Hires strength"), + (hr_denoising_strength, "Hires strength"), (hr_sampler_index, "Hires sampler"), (hr_resize_mode, "Hires mode"), (hr_resize_context, "Hires context"),