lineForText2Image.from_pretrained("runwayml/stable-diffusion-v1-5", image_encoder=image_encoder, torch_dtype=torch.float16).to("cuda") IP-Adapter allows you to use both image and text to condition the image generation process. For example, let’s use the bear image from the Textual Inversion section as the image prompt (ip_adapter_image) along with a text prompt to add “sunglasses”. 😎   Copied pipeline.set_ip_adapter_scale(0.6)
image = load_imag