Spaces:
Running on Zero
Running on Zero
update app
Browse files
app.py
CHANGED
|
@@ -829,7 +829,7 @@ with gr.Blocks() as demo:
|
|
| 829 |
file_count="multiple",
|
| 830 |
label="Upload Images/Videos",
|
| 831 |
file_types=["image", "video"],
|
| 832 |
-
height="
|
| 833 |
)
|
| 834 |
|
| 835 |
with gr.Row():
|
|
@@ -843,7 +843,7 @@ with gr.Blocks() as demo:
|
|
| 843 |
image_gallery = gr.Gallery(
|
| 844 |
label="",
|
| 845 |
columns=3,
|
| 846 |
-
height="
|
| 847 |
object_fit="cover",
|
| 848 |
preview=True,
|
| 849 |
show_label=False,
|
|
@@ -868,10 +868,6 @@ with gr.Blocks() as demo:
|
|
| 868 |
apply_mask_checkbox = gr.Checkbox(
|
| 869 |
label="Apply ambiguous-depth mask & edges", value=True
|
| 870 |
)
|
| 871 |
-
frame_filter = gr.Dropdown(
|
| 872 |
-
choices=["All"], value="All", label="Filter by Frame",
|
| 873 |
-
show_label=True,
|
| 874 |
-
)
|
| 875 |
|
| 876 |
with gr.Column(elem_id="right-panel", scale=1):
|
| 877 |
|
|
@@ -885,7 +881,7 @@ with gr.Blocks() as demo:
|
|
| 885 |
with gr.Tab("3D View"):
|
| 886 |
reconstruction_output = Rerun(
|
| 887 |
label="Rerun 3D Viewer",
|
| 888 |
-
height=
|
| 889 |
)
|
| 890 |
|
| 891 |
with gr.Tab("Depth"):
|
|
@@ -936,6 +932,12 @@ with gr.Blocks() as demo:
|
|
| 936 |
)
|
| 937 |
measure_text = gr.Markdown("")
|
| 938 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 939 |
with gr.Column(elem_id="examples-section"):
|
| 940 |
gr.Markdown("## Example Scenes")
|
| 941 |
gr.Markdown("Click a thumbnail to load the scene, then press **Reconstruct**.")
|
|
|
|
| 829 |
file_count="multiple",
|
| 830 |
label="Upload Images/Videos",
|
| 831 |
file_types=["image", "video"],
|
| 832 |
+
height="150"
|
| 833 |
)
|
| 834 |
|
| 835 |
with gr.Row():
|
|
|
|
| 843 |
image_gallery = gr.Gallery(
|
| 844 |
label="",
|
| 845 |
columns=3,
|
| 846 |
+
height="150",
|
| 847 |
object_fit="cover",
|
| 848 |
preview=True,
|
| 849 |
show_label=False,
|
|
|
|
| 868 |
apply_mask_checkbox = gr.Checkbox(
|
| 869 |
label="Apply ambiguous-depth mask & edges", value=True
|
| 870 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 871 |
|
| 872 |
with gr.Column(elem_id="right-panel", scale=1):
|
| 873 |
|
|
|
|
| 881 |
with gr.Tab("3D View"):
|
| 882 |
reconstruction_output = Rerun(
|
| 883 |
label="Rerun 3D Viewer",
|
| 884 |
+
height=700,
|
| 885 |
)
|
| 886 |
|
| 887 |
with gr.Tab("Depth"):
|
|
|
|
| 932 |
)
|
| 933 |
measure_text = gr.Markdown("")
|
| 934 |
|
| 935 |
+
with gr.Column():
|
| 936 |
+
frame_filter = gr.Dropdown(
|
| 937 |
+
choices=["All"], value="All", label="Filter by Frame",
|
| 938 |
+
show_label=True,
|
| 939 |
+
)
|
| 940 |
+
|
| 941 |
with gr.Column(elem_id="examples-section"):
|
| 942 |
gr.Markdown("## Example Scenes")
|
| 943 |
gr.Markdown("Click a thumbnail to load the scene, then press **Reconstruct**.")
|