Instructions to use baidu/ERNIE-Image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use baidu/ERNIE-Image with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("baidu/ERNIE-Image", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,6 +12,7 @@ tags:
|
|
| 12 |
<a href="https://huggingface.co/Baidu/ERNIE-Image">🤗 ERNIE-Image</a> |
|
| 13 |
<a href="https://huggingface.co/Baidu/ERNIE-Image-Turbo">🤗 ERNIE-Image-Turbo</a> |
|
| 14 |
<a href="https://huggingface.co/spaces/baidu/ERNIE-Image">🖥️ Huggingface Demo</a> |
|
|
|
|
| 15 |
<a href="https://aistudio.baidu.com/application/detail/179775">🖥️ AI Studio Demo</a> |
|
| 16 |
<a href="https://yiyan.baidu.com/blog/posts/ernie-image">📖 Blog</a> |
|
| 17 |
<a href="https://ernieimageprompt.com/">🖼️ Art Gallery</a>
|
|
|
|
| 12 |
<a href="https://huggingface.co/Baidu/ERNIE-Image">🤗 ERNIE-Image</a> |
|
| 13 |
<a href="https://huggingface.co/Baidu/ERNIE-Image-Turbo">🤗 ERNIE-Image-Turbo</a> |
|
| 14 |
<a href="https://huggingface.co/spaces/baidu/ERNIE-Image">🖥️ Huggingface Demo</a> |
|
| 15 |
+
<br/>
|
| 16 |
<a href="https://aistudio.baidu.com/application/detail/179775">🖥️ AI Studio Demo</a> |
|
| 17 |
<a href="https://yiyan.baidu.com/blog/posts/ernie-image">📖 Blog</a> |
|
| 18 |
<a href="https://ernieimageprompt.com/">🖼️ Art Gallery</a>
|