diff --git a/docs/source/en/tutorials/autopipeline.md b/docs/source/en/tutorials/autopipeline.md index e02791be2d5f..6869c36ede06 100644 --- a/docs/source/en/tutorials/autopipeline.md +++ b/docs/source/en/tutorials/autopipeline.md @@ -68,7 +68,7 @@ Notice how the [dreamlike-art/dreamlike-photoreal-2.0](https://hf.co/dreamlike-a ```py pipe_img2img = AutoPipelineForImage2Image.from_pipe(pipe_txt2img).to("cuda") -image = pipeline(prompt, image=init_image, generator=generator).images[0] +image = pipe_img2img(prompt, image=init_image, generator=generator).images[0] image ```