diff --git a/api/onnx_web/diffusers/pipelines/panorama.py b/api/onnx_web/diffusers/pipelines/panorama.py index bb1000d01..18fe54638 100644 --- a/api/onnx_web/diffusers/pipelines/panorama.py +++ b/api/onnx_web/diffusers/pipelines/panorama.py @@ -651,7 +651,7 @@ def img2img( noise = generator.randn(*latents.shape).astype(latents_dtype) latents = self.scheduler.add_noise( - torch.from_numpy(init_latents), torch.from_numpy(noise), torch.from_numpy(timesteps) + torch.from_numpy(latents), torch.from_numpy(noise), torch.from_numpy(timesteps) ) latents = latents.numpy()