File size: 469 Bytes
6233c14 f4ef945 6233c14 f4ef945 6233c14 f4ef945 6233c14 f4ef945 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
---
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://civitai.com/models/1029934/kohaku-xl-controlnet)
```
from diffusers import ControlNetModel
import torch
controlnet = ControlNetModel.from_pretrained(
"r3gm/controlnet-kohaku-canny-sdxl-fp16",
torch_dtype=torch.float16,
variant="fp16"
)
``` |