Oedon42 commited on
Commit
e911034
·
verified ·
1 Parent(s): 37fbf6b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -4
README.md CHANGED
@@ -27,12 +27,33 @@ These are LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0. Th
27
  #### How to use
28
 
29
  ```python
30
- # TODO: add an example code snippet for running this diffusion pipeline
31
- ```
 
 
32
 
33
- #### Limitations and bias
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
- [TODO: provide examples of latent issues and potential remediations]
36
 
37
  ## Training details
38
 
 
27
  #### How to use
28
 
29
  ```python
30
+ from diffusers import DiffusionPipeline
31
+
32
+ pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0")
33
+ pipe.load_lora_weights("Oedon42/oldpainter-lora-xl")
34
 
35
+ prompt = "1800s, 19th century, antiquity, black & white, Croatia, Europe, ruins"
36
+ image = pipe(prompt).images[0]
37
+ ```
38
+ ## Model Preview
39
+
40
+ Here are some preview results of the model:
41
+
42
+ <div style="display: flex; flex-wrap: wrap;">
43
+ <div style="flex: 50%; padding: 1px;">
44
+ <img src="./image_0.png" alt="Preview 1" style="width: 90%;"/>
45
+ </div>
46
+ <div style="flex: 50%; padding: 1px;">
47
+ <img src="./image_1.png" alt="Preview 2" style="width: 90%;"/>
48
+ </div>
49
+ <div style="flex: 50%; padding: 1px;">
50
+ <img src="./image_2.png" alt="Preview 3" style="width: 90%;"/>
51
+ </div>
52
+ <div style="flex: 50%; padding: 1px;">
53
+ <img src="./image_3.png" alt="Preview 4" style="width: 90%;"/>
54
+ </div>
55
+ </div>
56
 
 
57
 
58
  ## Training details
59