|
--- |
|
library_name: diffusers |
|
pipeline_tag: image-feature-extraction |
|
license: openrail |
|
tags: |
|
- controlnet |
|
- stable-diffusion-xl |
|
- stable-diffusion-xl-diffusers |
|
- text-to-image |
|
- diffusers |
|
--- |
|
|
|
[Origin model](https://huggingface.co./destitech/controlnet-inpaint-dreamer-sdxl/blob/main/diffusion_pytorch_model.safetensors) |
|
|
|
``` |
|
from diffusers import ControlNetModel |
|
import torch |
|
|
|
controlnet = ControlNetModel.from_pretrained( |
|
"r3gm/controlnet-inpaint-dreamer-sdxl-fp16", |
|
torch_dtype=torch.float16, |
|
variant="fp16" |
|
) |
|
``` |