r3gm's picture
Update README.md
50af02d verified
|
raw
history blame contribute delete
No virus
468 Bytes
---
library_name: diffusers
pipeline_tag: image-feature-extraction
tags:
- controlnet
- stable-diffusion-xl
- stable-diffusion-xl-diffusers
- text-to-image
- diffusers
license: apache-2.0
---
[Origin model](https://huggingface.co/xinsir/controlnet-union-sdxl-1.0)
```py
from diffusers import ControlNetModel
import torch
controlnet = ControlNetModel.from_pretrained(
"r3gm/controlnet-union-sdxl-1.0-fp16",
torch_dtype=torch.float16,
variant="fp16"
)
```