mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
Fix Hires info text handling
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user