Update README.md
Browse files
README.md
CHANGED
|
@@ -11,4 +11,20 @@ tags:
|
|
| 11 |
- lora
|
| 12 |
- pinterest
|
| 13 |
- skincare
|
| 14 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
- lora
|
| 12 |
- pinterest
|
| 13 |
- skincare
|
| 14 |
+
---
|
| 15 |
+
# Pinterest-Style LoRA for Stable Diffusion v1.4
|
| 16 |
+
|
| 17 |
+
Fine-tuned on a curated dataset of aesthetic Pinterest flatlays, focusing on skincare products, soft lighting, and pastel backgrounds.
|
| 18 |
+
|
| 19 |
+
## Usage
|
| 20 |
+
|
| 21 |
+
```python
|
| 22 |
+
from diffusers import StableDiffusionPipeline
|
| 23 |
+
import torch
|
| 24 |
+
|
| 25 |
+
pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", torch_dtype=torch.float16)
|
| 26 |
+
pipe.load_lora_weights("sirineddd/pinterest-stable-diffusion-v1-4")
|
| 27 |
+
|
| 28 |
+
prompt = "Aesthetic Pinterest-style flatlay of skincare products, pastel background, soft lighting"
|
| 29 |
+
image = pipe(prompt, num_inference_steps=30, guidance_scale=7.5).images[0]
|
| 30 |
+
image.show()
|