Thanks to 
text
Thanks to 
@OzzyGT
mention
OzzyGT
 for pushing the new Anyline preprocessor to 
text
 for pushing the new Anyline preprocessor to 
https://github.com/huggingface/controlnet_aux
https://github.com/huggingface/controlnet_aux
link
. Now you can use the 
text
. Now you can use the 
https://huggingface.co/TheMistoAI/MistoLine
TheMistoAI/MistoLine
model
resource
https://huggingface.co/TheMistoAI/MistoLine
 ControlNet with Diffusers completely.
text
 ControlNet with Diffusers completely.
new_line
new_line
Here's a demo for you: 
text
Here's a demo for you: 
https://huggingface.co/spaces/radames/MistoLine-ControlNet-demo
radames/MistoLine-ControlNet-demo
space
resource
https://huggingface.co/spaces/radames/MistoLine-ControlNet-demo
new_line
Super resolution version: 
text
Super resolution version: 
https://huggingface.co/spaces/radames/Enhance-This-HiDiffusion-SDXL
radames/Enhance-This-HiDiffusion-SDXL
space
resource
https://huggingface.co/spaces/radames/Enhance-This-HiDiffusion-SDXL
new_line
new_line
from controlnet_aux import AnylineDetector

anyline = AnylineDetector.from_pretrained(
    "TheMistoAI/MistoLine", filename="MTEED.pth", subfolder="Anyline"
).to("cuda")

source = Image.open("source.png")
result = anyline(source, detect_resolution=1280)
python
```python
from controlnet_aux import AnylineDetector

anyline = AnylineDetector.from_pretrained(
    "TheMistoAI/MistoLine", filename="MTEED.pth", subfolder="Anyline"
).to("cuda")

source = Image.open("source.png")
result = anyline(source, detect_resolution=1280)
```
code_fence
Thanks to @OzzyGT for pushing the new Anyline preprocessor to https://github.com/huggingface/controlnet_aux. Now you can use the https://huggingface.co/TheMistoAI/MistoLine ControlNet with Diffusers completely.

Here's a demo for you: https://huggingface.co/spaces/radames/MistoLine-ControlNet-demo
Super resolution version: https://huggingface.co/spaces/radames/Enhance-This-HiDiffusion-SDXL

```python
from controlnet_aux import AnylineDetector

anyline = AnylineDetector.from_pretrained(
    "TheMistoAI/MistoLine", filename="MTEED.pth", subfolder="Anyline"
).to("cuda")

source = Image.open("source.png")
result = anyline(source, detect_resolution=1280)
```
🔥
multimodalart OzzyGT osanseviero