Text-to-Image
Diffusers
UniDiffuserPipeline
image-to-text
image-captioning
image-variation
text-variation
multi-modality
generative model
Instructions to use dg845/unidiffuser-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dg845/unidiffuser-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("dg845/unidiffuser-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
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit History
-
Upload model_index.json
Update model_index.json file (rename image_processor to clip_image_processor)7cf660e
-
Upload model_index.json
Add new model_index.json file with CLIPVisionModelWithProjection image_encoder (update image_encoder from CLIPVisionModel to CLIPVisionModelWithProjection)1e6b365 -
Delete model_index.json
Remove outdated model_index.json (update image_encoder from CLIPVisionModel to CLIPVisionModelWithProjection)14be80c
-
Upload model_index.json
Add model index config for loading a UniDiffuserPipeline0220680