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