cheduler.config)
pipeline.enable_model_cpu_offload() Then, we load an input image for conditioning and obtain a suitable caption for it:   Copied from diffusers.utils import load_image

img_url = "https://github.com/pix2pixzero/pix2pix-zero/raw/main/assets/test_images/cats/cat_6.png"
raw_image = load_image(url).resize((512, 512))
caption = pipeline.generate_caption(raw_image)
caption Then we employ the generated caption and the input image to g