content.raw: Thanks to 
content.type: text
content.value: Thanks to 
content.raw: @OzzyGT
content.type: mention
content.user: OzzyGT
content.raw:  for pushing the new Anyline preprocessor to 
content.type: text
content.value:  for pushing the new Anyline preprocessor to 
content.href: https://github.com/huggingface/controlnet_aux
content.raw: https://github.com/huggingface/controlnet_aux
content.type: link
content.raw: . Now you can use the 
content.type: text
content.value: . Now you can use the 
content.raw: https://huggingface.co/TheMistoAI/MistoLine
content.id: TheMistoAI/MistoLine
content.type: model
content.type: resource
content.url: https://huggingface.co/TheMistoAI/MistoLine
content.raw:  ControlNet with Diffusers completely.
content.type: text
content.value:  ControlNet with Diffusers completely.
content.type: new_line
content.type: new_line
content.raw: Here's a demo for you: 
content.type: text
content.value: Here's a demo for you: 
content.raw: https://huggingface.co/spaces/radames/MistoLine-ControlNet-demo
content.id: radames/MistoLine-ControlNet-demo
content.type: space
content.type: resource
content.url: https://huggingface.co/spaces/radames/MistoLine-ControlNet-demo
content.type: new_line
content.raw: Super resolution version: 
content.type: text
content.value: Super resolution version: 
content.raw: https://huggingface.co/spaces/radames/Enhance-This-HiDiffusion-SDXL
content.id: radames/Enhance-This-HiDiffusion-SDXL
content.type: space
content.type: resource
content.url: https://huggingface.co/spaces/radames/Enhance-This-HiDiffusion-SDXL
content.type: new_line
content.type: new_line
content.code: 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)
content.lang: python
content.raw: ```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)
  ```
content.type: code_fence
rawContent: 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)
  ```
reactions.reaction: 🔥
reactions.users: multimodalart OzzyGT osanseviero