Instructions to use comp4471-2026S-G21/controlnet-final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use comp4471-2026S-G21/controlnet-final with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("comp4471-2026S-G21/controlnet-final", 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
- Xet hash:
- a7d75e1dde7863c4d91d69241f452f19828f3a55609cf4e600648828ee640652
- Size of remote file:
- 14.8 kB
- SHA256:
- f73760c92f4708fe9d5bb96957bb1f7bac3c445e7fbfc7c6adf4dd28beae4331
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.