nPipeline.from_pretrained(repo_id, use_safetensors=True)
print(pipeline) You’ll see pipeline is an instance of StableDiffusionPipeline, which consists of seven components: "feature_extractor": a CLIPImageProcessor from 🤗 Transformers. "safety_checker": a component for screening against harmful content. "scheduler": an instance of PNDMScheduler. "text_encoder": a CLIPTextModel from 🤗 Transformers. "tokenizer": a CLIPTokenizer from 🤗 Transformers