Text-to-Image
Diffusers
TensorBoard
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/DreamBooth-AltDiffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use BAAI/DreamBooth-AltDiffusion 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/DreamBooth-AltDiffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "一张<鸣人>男孩的照片" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Enable inference widget (#1)
Browse files- Enable inference widget (1f0c1f6bc39c754c7082380a2bb8a87978edf0c0)
Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -1,6 +1,28 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
license: creativeml-openrail-m
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
| 4 |
# This is a DreamBooth model trained on several public available images from web.
|
| 5 |
```
|
| 6 |
from diffusers import AltDiffusionPipeline, DPMSolverMultistepScheduler
|
|
|
|
| 1 |
---
|
| 2 |
+
language: zh
|
| 3 |
license: creativeml-openrail-m
|
| 4 |
+
|
| 5 |
+
tags:
|
| 6 |
+
- stable-diffusion
|
| 7 |
+
- stable-diffusion-diffusers
|
| 8 |
+
- text-to-image
|
| 9 |
+
- multilingual
|
| 10 |
+
- English(En)
|
| 11 |
+
- Chinese(Zh)
|
| 12 |
+
- Spanish(Es)
|
| 13 |
+
- French(Fr)
|
| 14 |
+
- Russian(Ru)
|
| 15 |
+
- Japanese(Ja)
|
| 16 |
+
- Korean(Ko)
|
| 17 |
+
- Arabic(Ar)
|
| 18 |
+
- Italian(It)
|
| 19 |
+
- diffusers
|
| 20 |
+
|
| 21 |
+
widget:
|
| 22 |
+
- text: "一张<鸣人>男孩的照片"
|
| 23 |
+
example_title: 一张<鸣人>男孩的照片
|
| 24 |
---
|
| 25 |
+
|
| 26 |
# This is a DreamBooth model trained on several public available images from web.
|
| 27 |
```
|
| 28 |
from diffusers import AltDiffusionPipeline, DPMSolverMultistepScheduler
|