Spaces:
Running
on
Zero
Running
on
Zero
add example
Browse files
app.py
CHANGED
@@ -234,16 +234,16 @@ with block:
|
|
234 |
|
235 |
button_gen.click(process, inputs=[inputfiles], outputs=[output_video, output_file, output_model])
|
236 |
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
block.launch(server_name="0.0.0.0", share=False)
|
|
|
234 |
|
235 |
button_gen.click(process, inputs=[inputfiles], outputs=[output_video, output_file, output_model])
|
236 |
|
237 |
+
gr.Examples(
|
238 |
+
examples=[
|
239 |
+
"sora-santorini-3-views",
|
240 |
+
# "TT-family-3-views",
|
241 |
+
# "dl3dv-ba55-3-views",
|
242 |
+
],
|
243 |
+
inputs=[input_path],
|
244 |
+
outputs=[output_video, output_file, output_model],
|
245 |
+
fn=lambda x: process(inputfiles=None, input_path=x),
|
246 |
+
cache_examples=True,
|
247 |
+
label='Sparse-view Examples'
|
248 |
+
)
|
249 |
block.launch(server_name="0.0.0.0", share=False)
|