ashawkey commited on
Commit
e2beaf5
1 Parent(s): 6206642

update samples and cache

Browse files
app.py CHANGED
@@ -244,27 +244,34 @@ with block:
244
 
245
  gr.Examples(
246
  examples=[
247
- "data_test/anya_rgba.png",
248
- "data_test/bird_rgba.png",
249
- "data_test/catstatue_rgba.png",
 
 
 
250
  ],
251
  inputs=[input_image],
252
  outputs=[output_image, output_video, output_file],
253
  fn=lambda x: process(input_image=x, prompt=''),
254
- cache_examples=False,
255
  label='Image-to-3D Examples'
256
  )
257
 
258
  gr.Examples(
259
  examples=[
260
- "a motorbike",
261
- "a hamburger",
262
- "a furry red fox head",
 
 
 
 
263
  ],
264
  inputs=[input_text],
265
  outputs=[output_image, output_video, output_file],
266
  fn=lambda x: process(input_image=None, prompt=x),
267
- cache_examples=False,
268
  label='Text-to-3D Examples'
269
  )
270
 
 
244
 
245
  gr.Examples(
246
  examples=[
247
+ "data_test/frog_sweater.jpg",
248
+ "data_test/bird.jpg",
249
+ "data_test/boy.jpg",
250
+ "data_test/cat_statue.jpg",
251
+ "data_test/dragontoy.jpg",
252
+ "data_test/gso_rabbit.jpg",
253
  ],
254
  inputs=[input_image],
255
  outputs=[output_image, output_video, output_file],
256
  fn=lambda x: process(input_image=x, prompt=''),
257
+ cache_examples=True,
258
  label='Image-to-3D Examples'
259
  )
260
 
261
  gr.Examples(
262
  examples=[
263
+ "teddy bear",
264
+ "hamburger",
265
+ "oldman's head sculpture",
266
+ "headphone",
267
+ "motorbike",
268
+ "mech suit"
269
+
270
  ],
271
  inputs=[input_text],
272
  outputs=[output_image, output_video, output_file],
273
  fn=lambda x: process(input_image=None, prompt=x),
274
+ cache_examples=True,
275
  label='Text-to-3D Examples'
276
  )
277
 
data_test/anya_rgba.png DELETED
Binary file (32.9 kB)
 
data_test/bird.jpg ADDED
data_test/bird_rgba.png DELETED
Binary file (56.2 kB)
 
data_test/boy.jpg ADDED
data_test/cat_statue.jpg ADDED
data_test/catstatue_rgba.png DELETED
Binary file (45.5 kB)
 
data_test/dragontoy.jpg ADDED
data_test/frog_sweater.jpg ADDED
data_test/gso_rabbit.jpg ADDED