Instructions to use OzzyGT/controlnet-inpaint-dreamer-sdxl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OzzyGT/controlnet-inpaint-dreamer-sdxl with Diffusers:
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 ) - Notebooks
- Google Colab
- Kaggle
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