Instructions to use TheMistoAI/MistoLine with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TheMistoAI/MistoLine with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("TheMistoAI/MistoLine", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
How to use the AnyLine preprocessor with Diffusers?
#9
by bradley6597 - opened
Hey,
I can see that there is a comfyUI implementation of the AnyLine preprocessor but it seems the model card only covers how to use the Canny preprocessor with the controlnet?
What would be the code to use the AnyLine preprocessor?
@StrugglerXYH I opened a PR https://github.com/huggingface/controlnet_aux/pull/105 for adding Anyline and be able to use it with diffusers. As soon as it's merged users could also use it with diffusers.
StrugglerXYH changed discussion status to closed