mjbuehler commited on
Commit
b5aa2ae
1 Parent(s): b61c470

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -0
README.md CHANGED
@@ -232,6 +232,19 @@ Video(output_video, embed=True)
232
 
233
  In this example, we generated a 3D model and created a physical sample using additive manufacturing.
234
 
 
 
 
 
 
 
 
 
 
 
 
 
 
235
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/623ce1c6b66fedf374859fe7/pNSU8_e9ntmIFElmn84Y-.png)
236
 
237
 
 
232
 
233
  In this example, we generated a 3D model and created a physical sample using additive manufacturing.
234
 
235
+ ```
236
+ repo_id_load= 'lamm-mit/SD2x-leaf-inspired'
237
+ input_image=text_to_image_SD2x (base_model=repo_id_load,
238
+ n_steps=75, guidance_scale=15,
239
+ prompt = "a conch shell on black background that resembles a <leaf microstructure>, high quality",
240
+ negative_prompt="" )
241
+ display (input_image)
242
+ processed_image, mv_images, mv_show_images= generate_multiviews (input_image, seed=None)
243
+ display (mv_show_images)
244
+ output_video, output_model_obj = make_multi_views_into_3D (mv_images, target_dir='output')
245
+ Video(output_video, embed=True)
246
+ ```
247
+
248
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/623ce1c6b66fedf374859fe7/pNSU8_e9ntmIFElmn84Y-.png)
249
 
250