Update app.py
Browse files
app.py
CHANGED
|
@@ -294,18 +294,6 @@ if __name__ == "__main__":
|
|
| 294 |
submit_btn = gr.Button(
|
| 295 |
"Reconstruct", scale=1, variant="primary"
|
| 296 |
)
|
| 297 |
-
clear_btn = gr.ClearButton(
|
| 298 |
-
[
|
| 299 |
-
input_video,
|
| 300 |
-
input_images,
|
| 301 |
-
reconstruction_output,
|
| 302 |
-
target_dir_output,
|
| 303 |
-
image_gallery,
|
| 304 |
-
rgb_video,
|
| 305 |
-
depth_video,
|
| 306 |
-
],
|
| 307 |
-
scale=1,
|
| 308 |
-
)
|
| 309 |
|
| 310 |
image_gallery = gr.Gallery(
|
| 311 |
label="Preview",
|
|
@@ -378,8 +366,6 @@ if __name__ == "__main__":
|
|
| 378 |
plyfile, video, depth_colored = gradio_demo(target_dir)
|
| 379 |
return plyfile, video, depth_colored, target_dir, image_paths
|
| 380 |
|
| 381 |
-
gr.Markdown("Click any row to load an example.", elem_classes=["example-log"])
|
| 382 |
-
|
| 383 |
gr.Examples(
|
| 384 |
examples=examples,
|
| 385 |
inputs=[
|
|
|
|
| 294 |
submit_btn = gr.Button(
|
| 295 |
"Reconstruct", scale=1, variant="primary"
|
| 296 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 297 |
|
| 298 |
image_gallery = gr.Gallery(
|
| 299 |
label="Preview",
|
|
|
|
| 366 |
plyfile, video, depth_colored = gradio_demo(target_dir)
|
| 367 |
return plyfile, video, depth_colored, target_dir, image_paths
|
| 368 |
|
|
|
|
|
|
|
| 369 |
gr.Examples(
|
| 370 |
examples=examples,
|
| 371 |
inputs=[
|