mjbuehler commited on
Commit
770b653
·
verified ·
1 Parent(s): 24dbe85

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -0
README.md CHANGED
@@ -137,6 +137,18 @@ The training script is included in the Jupyter notebook.
137
 
138
  ## More examples
139
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/623ce1c6b66fedf374859fe7/eE1xBqyVA4sP4gx6tAEGc.png)
141
 
142
 
 
137
 
138
  ## More examples
139
 
140
+ ```python
141
+ prompt = "a conch shell on black background that resembles a <leaf microstructure>, high quality"
142
+ num_samples = 4
143
+ num_rows = 4
144
+ all_images = []
145
+ for _ in range(num_rows):
146
+ images = pipe(prompt, num_images_per_prompt=num_samples, num_inference_steps=50, guidance_scale=15).images
147
+ all_images.extend(images)
148
+ grid = image_grid(all_images, num_rows, num_samples)
149
+ grid
150
+ ```
151
+
152
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/623ce1c6b66fedf374859fe7/eE1xBqyVA4sP4gx6tAEGc.png)
153
 
154