Instructions to use diffusers/controlnet-canny-sdxl-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/controlnet-canny-sdxl-1.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers/controlnet-canny-sdxl-1.0", 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
Commit History
-
Update README.md
eb115a1
-
Update README.md
6c57eef
-
Update README.md
836f050 -
Upload diffusion_pytorch_model.fp16.bin with huggingface_hub
89338a5 -
Upload diffusion_pytorch_model.fp16.safetensors with huggingface_hub
1ed6346
-
Update README.md
03dac35 -
Adding `safetensors` variant of this model (#4)
- Adding `safetensors` variant of this model (b9c1137900d81112525e7c6a504dcec97be3ef05) Co-authored-by: Kevin Lauterbach II <MKevinL2@users.noreply.huggingface.co>c0eb425 -
Set the VAE as the one downloaded (#6)
- Set the VAE as the one downloaded (eb51733960875b6dd5b7ae31d5cf2e43b576d3dc) Co-authored-by: Cesar Ramos Medina <TuringRM@users.noreply.huggingface.co>56194ea -
Add negative_prompt to pipeline call in Readme (was missing) (#9)
- Add negative_prompt to pipeline call in Readme (was missing) (dc45c50e5e4c4d311c3805d0723e1014d40220c0) Co-authored-by: Eliot Andres <eliotandres@users.noreply.huggingface.co>bb3959c
-
Update README.md
bdce74a -
Update README.md (#3)
- Update README.md (6ad0d4ef9b952b18ce90701cbbe3ae124f47988d) Co-authored-by: Omar Sanseviero <osanseviero@users.noreply.huggingface.co>c3be14b -
A little more info (#2)
- A little more info (0cdbad307991dea0ac972571d5997d930111e100) Co-authored-by: Sayak Paul <sayakpaul@users.noreply.huggingface.co>73a6ffa
-
Update README.md
c86ddc3 -
Update README.md
e04b873 -
move the checkpoint to root
yiyixuxu5053f3f -
Update README.md
71d44d7 -
Update README.md
8032797 -
Upload out_hug_lab_7.png
025ede4 -
Update README.md
0386a8c -
Update README.md
c2c546e -
Update README.md
bf1e481 -
Upload 5 files
e37d609 -
Create README.md
2cdae24
-
more checkpoints
523386d
-
init
8f1d8de -
initial commit
f86a43b