Skip to content

Commit

Permalink
fix for current webui
Browse files Browse the repository at this point in the history
  • Loading branch information
AlUlkesh committed Jan 25, 2023
1 parent 4185896 commit f38f0c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sd_dpmpp_sde_no_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def process(self, p):
# Save the original "BrownianTreeNoiseSampler.__init__"
p.orig_BrownianTreeNoiseSampler_init = k_diffusion.sampling.BrownianTreeNoiseSampler.__init__
# Create a hijacked version with the current seed as a literal and assign it to BrownianTreeNoiseSampler.__init__
BrownianTreeNoiseSampler_init = create_hijacked_init(p.seed)
BrownianTreeNoiseSampler_init = create_hijacked_init(p.all_seeds[0])
k_diffusion.sampling.BrownianTreeNoiseSampler.__init__ = BrownianTreeNoiseSampler_init

def postprocess(self, p, processed):
Expand Down

0 comments on commit f38f0c6

Please sign in to comment.