do not add 'Automatic' to infotext

This commit is contained in:
AUTOMATIC1111 2024-03-20 10:27:53 +03:00
parent 76f8436bfa
commit ac9aa44cb8
2 changed files with 3 additions and 2 deletions

View File

@ -722,7 +722,7 @@ def create_infotext(p, all_prompts, all_seeds, all_subseeds, comments=None, iter
generation_params = {
"Steps": p.steps,
"Sampler": p.sampler_name,
"Schedule type": p.scheduler,
"Schedule type": None,
"CFG scale": p.cfg_scale,
"Image CFG scale": getattr(p, 'image_cfg_scale', None),
"Seed": p.all_seeds[0] if use_main_prompt else all_seeds[index],

View File

@ -95,7 +95,8 @@ class KDiffusionSampler(sd_samplers_common.Sampler):
else:
sigmas_kwargs = {'sigma_min': sigma_min, 'sigma_max': sigma_max}
p.extra_generation_params["Schedule type"] = scheduler.label
if scheduler.label != 'Automatic':
p.extra_generation_params["Schedule type"] = scheduler.label
if opts.sigma_min != 0 and opts.sigma_min != m_sigma_min:
sigmas_kwargs['sigma_min'] = opts.sigma_min