Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
stable-diffusion
cvpr
image-generation
compositionality
Instructions to use mlpc-lab/TokenCompose_SD21_A with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mlpc-lab/TokenCompose_SD21_A with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mlpc-lab/TokenCompose_SD21_A", 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
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,6 +6,10 @@ library_name: diffusers
|
|
| 6 |
pipeline_tag: text-to-image
|
| 7 |
tags:
|
| 8 |
- stable-diffusion
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
# 🧩 TokenCompose SD21 Model Card
|
| 11 |
|
|
|
|
| 6 |
pipeline_tag: text-to-image
|
| 7 |
tags:
|
| 8 |
- stable-diffusion
|
| 9 |
+
- cvpr
|
| 10 |
+
- text-to-image
|
| 11 |
+
- image-generation
|
| 12 |
+
- compositionality
|
| 13 |
---
|
| 14 |
# 🧩 TokenCompose SD21 Model Card
|
| 15 |
|