Instructions to use CrucibleAI/ControlNetMediaPipeFace with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
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 ) - Notebooks
- Google Colab
- Kaggle
How to Install the latest version?
#18
by STanJK - opened
I downloaded control_v2p_sd21_mediapipe_face.safetensors and yaml in to the models/ControlNet folder but I don't see mediapipe_face in the preprocessor tab, though I can see control_v2p_sd21_mediapipe_face in the model tab
The changes we have are compatible with (and have been merged into) this extension: https://github.com/Mikubill/sd-webui-controlnet If you do 'add extensions', install this, and then put the control_v2p_sd21_mediapipe_face.safetensor+yaml (for Stable Diffusion 2.1) OR control_v2p_sd15_mediapipe_face.safetensor+yaml (for Stable Diffusion 1.5) into the <automatic1111 folder>/extensions/sd-webui-controlnet/models/ then you should see it under the preprocessor tab.