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
|
@@ -17,7 +17,7 @@ tags:
|
|
| 17 |
<a href="https://yiyan.baidu.com/blog/posts/ernie-image">📖 Blog</a> |
|
| 18 |
<a href="https://ernieimageprompt.com/">🖼️ Art Gallery</a>
|
| 19 |
<br/>
|
| 20 |
-
<a href="https://github.com/baidu/ERNIE-Image/blob/main/assets/contacts/
|
| 21 |
<a href="https://discord.gg/ByUTbjfG5k">🫨 Discord</a> |
|
| 22 |
<a href="https://x.com/ErnieforDevs">🏷️ X</a>
|
| 23 |
</p>
|
|
|
|
| 17 |
<a href="https://yiyan.baidu.com/blog/posts/ernie-image">📖 Blog</a> |
|
| 18 |
<a href="https://ernieimageprompt.com/">🖼️ Art Gallery</a>
|
| 19 |
<br/>
|
| 20 |
+
<a href="https://github.com/baidu/ERNIE-Image/blob/main/assets/contacts/WeChat_small.jpg">💬 WeChat(微信)</a> |
|
| 21 |
<a href="https://discord.gg/ByUTbjfG5k">🫨 Discord</a> |
|
| 22 |
<a href="https://x.com/ErnieforDevs">🏷️ X</a>
|
| 23 |
</p>
|