istepScheduler.from_config(pipe.scheduler.config)
pipe.enable_model_cpu_offload() Now pass your prompt and canny image to the pipeline:   Copied output = pipe(
    "the mona lisa", image=canny_image
).images[0]
make_image_grid([original_image, canny_image, output], rows=1, cols=3)   Image-to-image For image-to-image, you’d typically pass an initial image and a prompt to the pipeline to generate a new image. With ControlNet, you can pass an addi