Skip to content

Commit 1237782

Browse files
committed
oops
1 parent 2a2921c commit 1237782

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/sd_samplers_kdiffusion.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,9 @@ def create_noise_sampler(self, x, sigmas, p):
316316
else:
317317
sigma_min = 0
318318

319-
sigma_max = sigmas.max()
320-
current_iter_seeds = p.all_seeds[p.iteration * p.batch_size:(p.iteration + 1) * p.batch_size]
321-
return BrownianTreeNoiseSampler(x, sigma_min, sigma_max, seed=current_iter_seeds)
319+
sigma_max = sigmas.max()
320+
current_iter_seeds = p.all_seeds[p.iteration * p.batch_size:(p.iteration + 1) * p.batch_size]
321+
return BrownianTreeNoiseSampler(x, sigma_min, sigma_max, seed=current_iter_seeds)
322322

323323
def sample_img2img(self, p, x, noise, conditioning, unconditional_conditioning, steps=None, image_conditioning=None):
324324
steps, t_enc = sd_samplers_common.setup_img2img_steps(p, steps)

0 commit comments

Comments
 (0)