Update README.md
Browse files
README.md
CHANGED
@@ -27,3 +27,14 @@ These are LoRA adaption weights for stable-diffusion-v1-5/stable-diffusion-v1-5.
|
|
27 |
|
28 |
|
29 |
# How To Use
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
|
29 |
# How To Use
|
30 |
+
|
31 |
+
```python
|
32 |
+
from diffusers import DiffusionPipeline
|
33 |
+
|
34 |
+
pipe = DiffusionPipeline.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-5")
|
35 |
+
pipe.load_lora_weights("SedatAl/Logo-LoRa-1")
|
36 |
+
|
37 |
+
prompt = "a logo of coffee shop wit a cup of coffee under a framed arch, no text, modern, minimalist"
|
38 |
+
image = pipe(prompt).images[0]
|
39 |
+
|
40 |
+
```
|