Instructions to use kvablack/ddpo-aesthetic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kvablack/ddpo-aesthetic with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("kvablack/ddpo-aesthetic", dtype=torch.bfloat16, device_map="cuda") prompt = "lion" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Add widget examples
#1
by mishig HF Staff - opened
README.md
CHANGED
|
@@ -13,6 +13,13 @@ inference:
|
|
| 13 |
num_inference_steps: 50
|
| 14 |
guidance_scale: 5.0
|
| 15 |
eta: 1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
# ddpo-aesthetic
|
|
|
|
| 13 |
num_inference_steps: 50
|
| 14 |
guidance_scale: 5.0
|
| 15 |
eta: 1.0
|
| 16 |
+
widget:
|
| 17 |
+
- text: "lion"
|
| 18 |
+
example_title: lion
|
| 19 |
+
- text: "butterfly"
|
| 20 |
+
example_title: butterfly
|
| 21 |
+
- text: "dolphin"
|
| 22 |
+
example_title: dolphin
|
| 23 |
---
|
| 24 |
|
| 25 |
# ddpo-aesthetic
|