text
Thanks to 
Thanks to 
mention
@OzzyGT
OzzyGT
text
 for pushing the new Anyline preprocessor to 
 for pushing the new Anyline preprocessor to 
link
https://github.com/huggingface/controlnet_aux
https://github.com/huggingface/controlnet_aux
text
. Now you can use the 
. Now you can use the 
resource
https://huggingface.co/TheMistoAI/MistoLine
model
TheMistoAI/MistoLine
https://huggingface.co/TheMistoAI/MistoLine
text
 ControlNet with Diffusers completely.
 ControlNet with Diffusers completely.
new_line
new_line
text
Here's a demo for you: 
Here's a demo for you: 
resource
https://huggingface.co/spaces/radames/MistoLine-ControlNet-demo
space
radames/MistoLine-ControlNet-demo
https://huggingface.co/spaces/radames/MistoLine-ControlNet-demo
new_line
text
Super resolution version: 
Super resolution version: 
resource
https://huggingface.co/spaces/radames/Enhance-This-HiDiffusion-SDXL
space
radames/Enhance-This-HiDiffusion-SDXL
https://huggingface.co/spaces/radames/Enhance-This-HiDiffusion-SDXL
new_line
new_line
code_fence
```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)
```
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
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