Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: diffusers
|
3 |
+
pipeline_tag: image-feature-extraction
|
4 |
+
license: apache-2.0
|
5 |
+
tags:
|
6 |
+
- controlnet
|
7 |
+
- stable-diffusion-xl
|
8 |
+
- stable-diffusion-xl-diffusers
|
9 |
+
- text-to-image
|
10 |
+
- diffusers
|
11 |
+
---
|
12 |
+
|
13 |
+
[Origin model](https://huggingface.co/xinsir/controlnet-union-sdxl-1.0/blob/main/diffusion_pytorch_model_promax.safetensors)
|
14 |
+
|
15 |
+
```
|
16 |
+
from diffusers import ControlNetModel
|
17 |
+
import torch
|
18 |
+
|
19 |
+
controlnet = ControlNetModel.from_pretrained(
|
20 |
+
"r3gm/controlnet-union-promax-sdxl-fp16",
|
21 |
+
torch_dtype=torch.float16,
|
22 |
+
variant="fp16"
|
23 |
+
)
|
24 |
+
```
|