Add example with multiple faces to readme. f3e7dd8
Joseph Catrambone commited on
How to use CrucibleAI/ControlNetMediaPipeFace with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
controlnet = ControlNetModel.from_pretrained("CrucibleAI/ControlNetMediaPipeFace")
pipe = StableDiffusionControlNetPipeline.from_pretrained(
"stabilityai/stable-diffusion-2-1-base", controlnet=controlnet
)