faneggg commited on
Commit
e551f0f
·
1 Parent(s): b100032

add example

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -402,15 +402,15 @@ with demo:
402
  render_run.click(run_render, inputs=[dust3r_state, feat2gs_state, cam_traj], outputs=[output_video])
403
 
404
 
405
- # gr.Examples(
406
- # examples=[
407
- # "plushies",
408
- # ],
409
- # inputs=[input_path],
410
- # outputs=[dust3r_model, feat_image, output_model, output_video],
411
- # fn=lambda x: process_example(inputfiles=None, input_path=x),
412
- # cache_examples=True,
413
- # label='Examples'
414
- # )
415
 
416
  demo.launch(server_name="0.0.0.0", share=False)
 
402
  render_run.click(run_render, inputs=[dust3r_state, feat2gs_state, cam_traj], outputs=[output_video])
403
 
404
 
405
+ gr.Examples(
406
+ examples=[
407
+ "plushies",
408
+ ],
409
+ inputs=[input_path],
410
+ outputs=[dust3r_model, feat_image, output_model, output_video],
411
+ fn=lambda x: process_example(inputfiles=None, input_path=x),
412
+ cache_examples=True,
413
+ label='Examples'
414
+ )
415
 
416
  demo.launch(server_name="0.0.0.0", share=False)