Restore extra_params that was lost in merge
This commit is contained in:
parent
d8419762c1
commit
525b55b1e9
|
@ -67,6 +67,8 @@ class KDiffusionSampler(sd_samplers_common.Sampler):
|
||||||
def __init__(self, funcname, sd_model, options=None):
|
def __init__(self, funcname, sd_model, options=None):
|
||||||
super().__init__(funcname)
|
super().__init__(funcname)
|
||||||
|
|
||||||
|
self.extra_params = sampler_extra_params.get(funcname, [])
|
||||||
|
|
||||||
self.options = options or {}
|
self.options = options or {}
|
||||||
self.func = funcname if callable(funcname) else getattr(k_diffusion.sampling, self.funcname)
|
self.func = funcname if callable(funcname) else getattr(k_diffusion.sampling, self.funcname)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue