Text-to-Image
Diffusers
UniDiffuserPipeline
image-to-text
image-captioning
image-variation
text-variation
multi-modality
generative model
Instructions to use thu-ml/unidiffuser-v0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use thu-ml/unidiffuser-v0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("thu-ml/unidiffuser-v0", 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 (#4) ab88155
Update README.md (#1) 3c03416
Upload 22 files (#3) 982cae9
Update README.md e8c9e37
Update README.md d02683d
Update README.md c8ba056
Update README.md 1e22060
Create README.md 973aa86
Delete caption_ae.pt d1cc4b9
Upload caption_decoder.pth f5661ba
uvit_v0 765cd58
caption_ae.pt 285ed66
autoencoder_kl.pth c5381e4
initial commit 06b67eb
fan bao commited on