Instructions to use lucasfelezdev/TextToImage with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lucasfelezdev/TextToImage with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lucasfelezdev/TextToImage", 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
Commit ·
c93a58e
1
Parent(s): 88f8cb4
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
---
|
| 2 |
datasets:
|
| 3 |
-
-
|
| 4 |
language:
|
| 5 |
- en
|
| 6 |
- fr
|
| 7 |
metrics:
|
| 8 |
- bertscore
|
| 9 |
-
library_name:
|
| 10 |
---
|
|
|
|
| 1 |
---
|
| 2 |
datasets:
|
| 3 |
+
- poloclub/diffusiondb
|
| 4 |
language:
|
| 5 |
- en
|
| 6 |
- fr
|
| 7 |
metrics:
|
| 8 |
- bertscore
|
| 9 |
+
library_name: diffusers
|
| 10 |
---
|