This commit is contained in:
lllyasviel
2024-01-25 08:33:57 -08:00
parent 43dabe808e
commit 222f77538e
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -155,7 +155,8 @@ class KDiffusionSampler(sd_samplers_common.Sampler):
sigmas = self.get_sigmas(p, steps)
sigma_sched = sigmas[steps - t_enc - 1:]
xi = x.to(noise) + noise * sigma_sched[0]
x = x.to(noise)
xi = x + noise * sigma_sched[0]
if opts.img2img_extra_noise > 0:
p.extra_generation_params["Extra noise"] = opts.img2img_extra_noise