Skip to content

Commit

Permalink
Merge pull request #12522 from catboxanon/fix/extra_params
Browse files Browse the repository at this point in the history
Restore `extra_params` that was lost in merge
  • Loading branch information
AUTOMATIC1111 authored Aug 13, 2023
2 parents db40d26 + 525b55b commit 551d2fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/sd_samplers_kdiffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ class KDiffusionSampler(sd_samplers_common.Sampler):
def __init__(self, funcname, sd_model, options=None):
super().__init__(funcname)

self.extra_params = sampler_extra_params.get(funcname, [])

self.options = options or {}
self.func = funcname if callable(funcname) else getattr(k_diffusion.sampling, self.funcname)

Expand Down

0 comments on commit 551d2fa

Please sign in to comment.