Text-to-Image
Diffusers
Chinese
AltDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
multilingual
English(En)
Chinese(Zh)
Spanish(Es)
French(Fr)
Russian(Ru)
Japanese(Ja)
Korean(Ko)
Arabic(Ar)
Italian(It)
Instructions to use BAAI/AltDiffusion-m9 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use BAAI/AltDiffusion-m9 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("BAAI/AltDiffusion-m9", 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
add gradio demo
Browse files
README.md
CHANGED
|
@@ -35,6 +35,10 @@ extra_gated_heading: Please read the LICENSE to access this model
|
|
| 35 |
|:----------:| :----: |:-------------------:| :----: |:------:|
|
| 36 |
| AltDiffusion-m9 | 多模态 Multimodal | Multilingual | Stable Diffusion | [FlagAI](https://github.com/FlagAI-Open/FlagAI) |
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
# 模型信息 Model Information
|
| 40 |
|
|
|
|
| 35 |
|:----------:| :----: |:-------------------:| :----: |:------:|
|
| 36 |
| AltDiffusion-m9 | 多模态 Multimodal | Multilingual | Stable Diffusion | [FlagAI](https://github.com/FlagAI-Open/FlagAI) |
|
| 37 |
|
| 38 |
+
# Gradio
|
| 39 |
+
|
| 40 |
+
We support a [Gradio](https://github.com/gradio-app/gradio) Web UI to run AltDiffusion-m9:
|
| 41 |
+
[](https://huggingface.co/spaces/akhaliq/AltDiffusion-m9)
|
| 42 |
|
| 43 |
# 模型信息 Model Information
|
| 44 |
|