
stable_diffusion = DiffusionPipeline.from_pretrained(repo_id, scheduler=scheduler)

Safety checker
	
Diffusion models like Stable Diffusion can generate harmful content, which is why 🧨 Diffusers has a safety checker to check generated outputs against known hardcoded NSFW content. If you’d like to disable the safety checker for whatever reason, pass None to the safety_checker argument:


	Copied
from diffusers import DiffusionPipeline

repo_id 