Update README.md
Browse files
README.md
CHANGED
@@ -128,16 +128,17 @@ grid
|
|
128 |
|
129 |
![image/png](https://cdn-uploads.huggingface.co/production/uploads/623ce1c6b66fedf374859fe7/MkOXQIpdhl_zWM3QySYMY.png)
|
130 |
|
131 |
-
Now we use one of the images (second from left) and modify it using the image-to-image pipeline. You can get the image as follows:
|
132 |
|
133 |
```
|
134 |
-
|
135 |
-
wget
|
136 |
-
cd ..
|
137 |
```
|
|
|
|
|
|
|
138 |
Now, generate:
|
139 |
```
|
140 |
-
fname='
|
141 |
init_image = Image.open(fname).convert("RGB")
|
142 |
init_image = init_image.resize((768, 768))
|
143 |
|
|
|
128 |
|
129 |
![image/png](https://cdn-uploads.huggingface.co/production/uploads/623ce1c6b66fedf374859fe7/MkOXQIpdhl_zWM3QySYMY.png)
|
130 |
|
131 |
+
Now we use one of the images (second from left) and modify it using the image-to-image pipeline. You can get the image as follows (if you run the generate code yourself, the generated images will be in the subdirectory ```generated_images```):
|
132 |
|
133 |
```
|
134 |
+
wget https://huggingface.co/lamm-mit/SD2x-leaf-inspired/resolve/main/image_grid_1-of-4__20240722_144702.png
|
|
|
|
|
135 |
```
|
136 |
+
|
137 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/623ce1c6b66fedf374859fe7/l4WCC3PoZ6OpiSN-E66i3.png)
|
138 |
+
|
139 |
Now, generate:
|
140 |
```
|
141 |
+
fname='image_grid_1-of-4__20240722_144702.png'
|
142 |
init_image = Image.open(fname).convert("RGB")
|
143 |
init_image = init_image.resize((768, 768))
|
144 |
|