Compel installed:   Copied # uncomment to install in Colab
#!pip install compel --upgrade For this guide, let’s generate an image with the prompt "a red cat playing with a ball" using the StableDiffusionPipeline:   Copied from diffusers import StableDiffusionPipeline, UniPCMultistepScheduler
import torch

pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_safetensors=True)
pipe.scheduler = UniPCMultistepSchedule