mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-15 07:03:06 +03:00
Fix typo in comments
This commit is contained in:
parent
1eae307607
commit
eacc03b167
@ -370,7 +370,7 @@ class KDiffusionSampler:
|
|||||||
|
|
||||||
extra_params_kwargs = self.initialize(p)
|
extra_params_kwargs = self.initialize(p)
|
||||||
if 'sigma_min' in inspect.signature(self.func).parameters:
|
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]
|
extra_params_kwargs['sigma_min'] = sigma_sched[-2]
|
||||||
if 'sigma_max' in inspect.signature(self.func).parameters:
|
if 'sigma_max' in inspect.signature(self.func).parameters:
|
||||||
extra_params_kwargs['sigma_max'] = sigma_sched[0]
|
extra_params_kwargs['sigma_max'] = sigma_sched[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user