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

@@ -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