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
- Draw Things
- DiffusionBee
Commit History
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) c0eb425
Set the VAE as the one downloaded (#6) 56194ea
Add negative_prompt to pipeline call in Readme (was missing) (#9) bb3959c
Update README.md bdce74a
Update README.md (#3) c3be14b
Update README.md c86ddc3
Update README.md e04b873
move the checkpoint to root 5053f3f
yiyixuxu commited on