Instructions to use XLabs-AI/flux-controlnet-canny-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use XLabs-AI/flux-controlnet-canny-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("XLabs-AI/flux-controlnet-canny-diffusers") pipe = StableDiffusionControlNetPipeline.from_pretrained( "black-forest-labs/FLUX.1-dev", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
try to get the example case
#2
by yujieouo - opened
Could you provide more details? Did you try launching the model on the dev branch? It's not merged with Diffusers yet, so that could be causing the issue.
pip install git+https://github.com/XLabs-AI/diffusers.git@xlabs_controlnet_support
Thanks for your reply, indeed I did not use the dev branch before, but after reinstalling with pip, the result is still the same as the previous image

