pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
controlnet = ControlNetModel.from_pretrained("JaspervanLeuven/model_out")
pipe = StableDiffusionControlNetPipeline.from_pretrained(
"stabilityai/stable-diffusion-2-1-base", controlnet=controlnet
)- Downloads last month
- -
Model tree for JaspervanLeuven/model_out
Base model
stabilityai/stable-diffusion-2-1-base
# Gated model: Login with a HF token with gated access permission hf auth login