ce.
Start by creating an instance of DiffusionPipeline and specify which pipeline checkpoint you would like to download.
In this guide, you’ll use DiffusionPipeline for text-to-image generation with Latent Diffusion:


	Copied
>>> from diffusers import DiffusionPipeline

>>> generator = DiffusionPipeline.from_pretrained("CompVis/ldm-text2im-large-256")
The DiffusionPipeline downloads and caches all modeling, tokenization, and scheduling compone