Update README.md
Browse files
README.md
CHANGED
|
@@ -10,6 +10,9 @@ tags:
|
|
| 10 |
- diffusers
|
| 11 |
- diffusers-training
|
| 12 |
- lora
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
|
@@ -27,12 +30,21 @@ These are LoRA adaption weights for stable-diffusion-v1-5/stable-diffusion-v1-5.
|
|
| 27 |
#### How to use
|
| 28 |
|
| 29 |
```python
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
```
|
| 32 |
|
| 33 |
-
|
|
|
|
|
|
|
| 34 |
|
| 35 |
-
[
|
|
|
|
| 36 |
|
| 37 |
## Training details
|
| 38 |
|
|
|
|
| 10 |
- diffusers
|
| 11 |
- diffusers-training
|
| 12 |
- lora
|
| 13 |
+
datasets:
|
| 14 |
+
- gigant/oldbookillustrations
|
| 15 |
+
pipeline_tag: text-to-image
|
| 16 |
---
|
| 17 |
|
| 18 |
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
|
|
|
| 30 |
#### How to use
|
| 31 |
|
| 32 |
```python
|
| 33 |
+
from diffusers import DiffusionPipeline
|
| 34 |
+
|
| 35 |
+
pipe = DiffusionPipeline.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-5")
|
| 36 |
+
pipe.load_lora_weights("Oedon42/oldpainter-lora")
|
| 37 |
+
|
| 38 |
+
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
|
| 39 |
+
image = pipe(prompt).images[0]
|
| 40 |
```
|
| 41 |
|
| 42 |
+
## Model Preview
|
| 43 |
+
|
| 44 |
+
Here are some preview results of the model:
|
| 45 |
|
| 46 |
+

|
| 47 |
+

|
| 48 |
|
| 49 |
## Training details
|
| 50 |
|