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