ipeline class for loading, you can also load the appropriate pipeline class directly. The code snippet above yields the same instance as when doing:


	Copied
from diffusers import StableDiffusionPipeline

repo_id = "runwayml/stable-diffusion-v1-5"
pipe = StableDiffusionPipeline.from_pretrained(repo_id)
Many checkpoints, such as CompVis/stable-diffusion-v1-4 and runwayml/stable-diffusion-v1-5 can be used for multiple tasks, e.g. text-to-image o