How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline

controlnet = ControlNetModel.from_pretrained("OzzyGT/controlnet-inpaint-dreamer-sdxl")
pipe = StableDiffusionControlNetPipeline.from_pretrained(
	"fill-in-base-model", controlnet=controlnet
)

This is just a half precision copy of https://huggingface.co/destitech/controlnet-inpaint-dreamer-sdxl with the config file and correct filename to load it with diffusers.

controlnet = ControlNetModel.from_pretrained(
    "OzzyGT/controlnet-inpaint-dreamer-sdxl", torch_dtype=torch.float16, variant="fp16"
)
Downloads last month
16
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support