Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -587,7 +587,7 @@ class StableDiffusionLongPromptWeightingPipeline(StableDiffusionPipeline):
|
|
587 |
else:
|
588 |
noise = torch.randn(shape, generator=generator, device=device, dtype=dtype)
|
589 |
latents = self.scheduler.add_noise(init_latents, noise, timestep)
|
590 |
-
|
591 |
|
592 |
@torch.no_grad()
|
593 |
def __call__(
|
|
|
587 |
else:
|
588 |
noise = torch.randn(shape, generator=generator, device=device, dtype=dtype)
|
589 |
latents = self.scheduler.add_noise(init_latents, noise, timestep)
|
590 |
+
return latents, init_latents_orig, noise
|
591 |
|
592 |
@torch.no_grad()
|
593 |
def __call__(
|