Fix typo in comments

This commit is contained in:
Martin Cairns 2022-10-11 00:36:00 +01:00 committed by AUTOMATIC1111
parent 1eae307607
commit eacc03b167
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ class KDiffusionSampler:
extra_params_kwargs = self.initialize(p)
if 'sigma_min' in inspect.signature(self.func).parameters:
## last sigma is zero which is allowed by DPM Fast & Adaptive so taking value before last
## last sigma is zero which isn't allowed by DPM Fast & Adaptive so taking value before last
extra_params_kwargs['sigma_min'] = sigma_sched[-2]
if 'sigma_max' in inspect.signature(self.func).parameters:
extra_params_kwargs['sigma_max'] = sigma_sched[0]