Commit ac9aa44c authored by AUTOMATIC1111's avatar AUTOMATIC1111

do not add 'Automatic' to infotext

parent 76f8436b
...@@ -722,7 +722,7 @@ def create_infotext(p, all_prompts, all_seeds, all_subseeds, comments=None, iter ...@@ -722,7 +722,7 @@ def create_infotext(p, all_prompts, all_seeds, all_subseeds, comments=None, iter
generation_params = { generation_params = {
"Steps": p.steps, "Steps": p.steps,
"Sampler": p.sampler_name, "Sampler": p.sampler_name,
"Schedule type": p.scheduler, "Schedule type": None,
"CFG scale": p.cfg_scale, "CFG scale": p.cfg_scale,
"Image CFG scale": getattr(p, 'image_cfg_scale', None), "Image CFG scale": getattr(p, 'image_cfg_scale', None),
"Seed": p.all_seeds[0] if use_main_prompt else all_seeds[index], "Seed": p.all_seeds[0] if use_main_prompt else all_seeds[index],
......
...@@ -95,6 +95,7 @@ class KDiffusionSampler(sd_samplers_common.Sampler): ...@@ -95,6 +95,7 @@ class KDiffusionSampler(sd_samplers_common.Sampler):
else: else:
sigmas_kwargs = {'sigma_min': sigma_min, 'sigma_max': sigma_max} sigmas_kwargs = {'sigma_min': sigma_min, 'sigma_max': sigma_max}
if scheduler.label != 'Automatic':
p.extra_generation_params["Schedule type"] = scheduler.label p.extra_generation_params["Schedule type"] = scheduler.label
if opts.sigma_min != 0 and opts.sigma_min != m_sigma_min: if opts.sigma_min != 0 and opts.sigma_min != m_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