Minor naming fixes
This commit is contained in:
parent
4365c35bf9
commit
302d95c726
@ -567,11 +567,11 @@ def create_infotext(p, all_prompts, all_seeds, all_subseeds, comments=None, iter
|
||||
generation_params = {
|
||||
"Steps": p.steps,
|
||||
"Sampler": p.sampler_name,
|
||||
"Enable Custom Karras Schedule": use_custom_k_sched or None,
|
||||
"kdiffusion Scheduler Type": p.k_sched_type if use_custom_k_sched else None,
|
||||
"kdiffusion Scheduler sigma_max": p.sigma_max if use_custom_k_sched else None,
|
||||
"kdiffusion Scheduler sigma_min": p.sigma_min if use_custom_k_sched else None,
|
||||
"kdiffusion Scheduler rho": p.rho if use_custom_k_sched else None,
|
||||
"Enable Custom KDiffusion Schedule": use_custom_k_sched or None,
|
||||
"KDiffusion Scheduler Type": p.k_sched_type if use_custom_k_sched else None,
|
||||
"KDiffusion Scheduler sigma_max": p.sigma_max if use_custom_k_sched else None,
|
||||
"KDiffusion Scheduler sigma_min": p.sigma_min if use_custom_k_sched else None,
|
||||
"KDiffusion Scheduler rho": p.rho if use_custom_k_sched else None,
|
||||
"CFG scale": p.cfg_scale,
|
||||
"Image CFG scale": getattr(p, 'image_cfg_scale', None),
|
||||
"Seed": all_seeds[index],
|
||||
|
@ -676,7 +676,7 @@ def create_ui():
|
||||
(hr_prompt, "Hires prompt"),
|
||||
(hr_negative_prompt, "Hires negative prompt"),
|
||||
(hr_prompts_container, lambda d: gr.update(visible=True) if d.get("Hires prompt", "") != "" or d.get("Hires negative prompt", "") != "" else gr.update()),
|
||||
(t2i_enable_k_sched, "Enable Custom Karras Schedule"),
|
||||
(t2i_enable_k_sched, "Enable Custom KDiffusion Schedule"),
|
||||
(t2i_k_sched_type, "KDiffusion Scheduler Type"),
|
||||
(t2i_k_sched_sigma_max, "KDiffusion Scheduler sigma_max"),
|
||||
(t2i_k_sched_sigma_min, "KDiffusion Scheduler sigma_min"),
|
||||
@ -1090,7 +1090,7 @@ def create_ui():
|
||||
(steps, "Steps"),
|
||||
(sampler_index, "Sampler"),
|
||||
(restore_faces, "Face restoration"),
|
||||
(i2i_enable_k_sched, "Enable Custom Karras Schedule"),
|
||||
(i2i_enable_k_sched, "Enable Custom KDiffusion Schedule"),
|
||||
(i2i_k_sched_type, "KDiffusion Scheduler Type"),
|
||||
(i2i_k_sched_sigma_max, "KDiffusion Scheduler sigma_max"),
|
||||
(i2i_k_sched_sigma_min, "KDiffusion Scheduler sigma_min"),
|
||||
|
Loading…
Reference in New Issue
Block a user