Commit 302d95c7 authored by Kohaku-Blueleaf's avatar Kohaku-Blueleaf

Minor naming fixes

parent 4365c35b
......@@ -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"),
......
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