Spaces:
Running
on
Zero
Running
on
Zero
add example
Browse files
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 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
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)
|