Update README.md
Browse files
README.md
CHANGED
@@ -142,6 +142,28 @@ grid
|
|
142 |
|
143 |
Image generation - Example #2:
|
144 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
```python
|
146 |
prompt = "A sign that says 'PDF to AUDIO' with organic shapes, <bioinspired>"
|
147 |
num_samples =1
|
@@ -161,7 +183,7 @@ grid
|
|
161 |
|
162 |

|
163 |
|
164 |
-
Image generation - Example #
|
165 |
|
166 |
```python
|
167 |
prompt = "An architectural design in the style of <bioinspired>. The structure itself features key design elements as in <bioinspired>."
|
@@ -183,7 +205,7 @@ grid
|
|
183 |

|
184 |
|
185 |
|
186 |
-
Image generation - Example #
|
187 |
|
188 |
```python
|
189 |
prompt = "<bioinspired>, a beautiful landscape."
|
@@ -205,7 +227,7 @@ grid
|
|
205 |

|
206 |
|
207 |
|
208 |
-
Image generation - Example #
|
209 |
|
210 |
```python
|
211 |
prompt = """A coffee mug in an unusual shape that resembles a <bioinspired> river during fall foliage."""
|
|
|
142 |
|
143 |
Image generation - Example #2:
|
144 |
|
145 |
+
```python
|
146 |
+
prompt = """A leaf during fall foliage, <bioinspired>."""
|
147 |
+
negative_prompt=""
|
148 |
+
num_samples =2
|
149 |
+
num_rows =2
|
150 |
+
n_steps=25
|
151 |
+
guidance_scale=5
|
152 |
+
all_images = []
|
153 |
+
for _ in range(num_rows):
|
154 |
+
image = pipeline(prompt,num_inference_steps=n_steps,num_images_per_prompt=num_samples,
|
155 |
+
guidance_scale=guidance_scale,).images
|
156 |
+
|
157 |
+
all_images.extend(image)
|
158 |
+
|
159 |
+
grid = image_grid(all_images, num_rows, num_samples, save_individual_files=True, )
|
160 |
+
grid
|
161 |
+
```
|
162 |
+
|
163 |
+

|
164 |
+
|
165 |
+
Image generation - Example #3:
|
166 |
+
|
167 |
```python
|
168 |
prompt = "A sign that says 'PDF to AUDIO' with organic shapes, <bioinspired>"
|
169 |
num_samples =1
|
|
|
183 |
|
184 |

|
185 |
|
186 |
+
Image generation - Example #4:
|
187 |
|
188 |
```python
|
189 |
prompt = "An architectural design in the style of <bioinspired>. The structure itself features key design elements as in <bioinspired>."
|
|
|
205 |

|
206 |
|
207 |
|
208 |
+
Image generation - Example #5:
|
209 |
|
210 |
```python
|
211 |
prompt = "<bioinspired>, a beautiful landscape."
|
|
|
227 |

|
228 |
|
229 |
|
230 |
+
Image generation - Example #6:
|
231 |
|
232 |
```python
|
233 |
prompt = """A coffee mug in an unusual shape that resembles a <bioinspired> river during fall foliage."""
|