Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

xinsir
/
controlnet-canny-sdxl-1.0

Text-to-Image
Diffusers
Safetensors
text_to_image
controlnet
controlnet-canny-sdxl-1.0
Model card Files Files and versions
xet
Community
4

Instructions to use xinsir/controlnet-canny-sdxl-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use xinsir/controlnet-canny-sdxl-1.0 with Diffusers:

    pip install -U diffusers transformers accelerate
    from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
    
    controlnet = ControlNetModel.from_pretrained("xinsir/controlnet-canny-sdxl-1.0")
    pipe = StableDiffusionControlNetPipeline.from_pretrained(
    	"fill-in-base-model", controlnet=controlnet
    )
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Add pipe.enable_model_cpu_offload() in the how-to-get-started-with-the-model code

#4 opened over 1 year ago by
ZachariasDr

Sponsored Compute

13
#3 opened about 2 years ago by
Hipsterusername

Edge-Drawing Parameter-Free Filter version

#2 opened about 2 years ago by
GeroldMeisinger

Details about training

13
#1 opened about 2 years ago by
laidawang
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs