Instructions to use AzhureRaven/rico-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AzhureRaven/rico-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AzhureRaven/rico-diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "red Toolbar Upper Top containing Text Left Login inside and white Input Upper Top and white Input Lower Top and red Button login Upper Middle, Android UI, Medical, white background" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload sample_prompts_rico.json
Browse files
ed2-config/sample_prompts_rico.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
"size": [384, 640]
|
| 13 |
},
|
| 14 |
{
|
| 15 |
-
"prompt": "blue Toolbar Upper Top containing Text League Left inside and blue Multi Tab Top containing
|
| 16 |
"size": [384, 640]
|
| 17 |
}
|
| 18 |
]
|
|
|
|
| 12 |
"size": [384, 640]
|
| 13 |
},
|
| 14 |
{
|
| 15 |
+
"prompt": "blue Toolbar Upper Top containing Text League Left inside and blue Multi Tab Top containing Button News Left Side Left and Button Schedule Right Side Left inside and white Card Middle containing Image soccer Cover Top and Text Soccer Match Bottom Left inside and white Card Bottom containing Image basketball Cover Top and Text Basketball Match Bottom Left inside, Android UI, Sports, white background",
|
| 16 |
"size": [384, 640]
|
| 17 |
}
|
| 18 |
]
|