Fix Hires info text handling

This commit is contained in:
awsr
2025-11-07 12:58:49 -08:00
parent 0e8429dbd8
commit 90e800a587
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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:
+1 -2
View File
@@ -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"),