Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -816,6 +816,9 @@ with gr.Blocks() as demo:
|
|
| 816 |
measure_points_state = gr.State(value=[])
|
| 817 |
target_dir_output = gr.Textbox(visible=False, value="None")
|
| 818 |
|
|
|
|
|
|
|
|
|
|
| 819 |
with gr.Column(elem_id="app-shell"):
|
| 820 |
with gr.Column(elem_id="app-header"):
|
| 821 |
gr.Markdown("# **Map-Anything-v1**", elem_id="main-title")
|
|
@@ -829,8 +832,7 @@ with gr.Blocks() as demo:
|
|
| 829 |
file_count="multiple",
|
| 830 |
label="Upload Images/Videos",
|
| 831 |
file_types=["image", "video"],
|
| 832 |
-
|
| 833 |
-
height="300"
|
| 834 |
)
|
| 835 |
|
| 836 |
with gr.Row():
|
|
@@ -847,7 +849,6 @@ with gr.Blocks() as demo:
|
|
| 847 |
height="220",
|
| 848 |
object_fit="cover",
|
| 849 |
preview=True,
|
| 850 |
-
#elem_id="preview-gallery",
|
| 851 |
show_label=False,
|
| 852 |
)
|
| 853 |
|
|
@@ -887,7 +888,7 @@ with gr.Blocks() as demo:
|
|
| 887 |
with gr.Tab("3D View"):
|
| 888 |
reconstruction_output = Rerun(
|
| 889 |
label="Rerun 3D Viewer",
|
| 890 |
-
height=
|
| 891 |
)
|
| 892 |
|
| 893 |
with gr.Tab("Depth"):
|
|
|
|
| 816 |
measure_points_state = gr.State(value=[])
|
| 817 |
target_dir_output = gr.Textbox(visible=False, value="None")
|
| 818 |
|
| 819 |
+
# with gr.Column(elem_id="app-shell"):
|
| 820 |
+
# with gr.Column(elem_id="app-header"):
|
| 821 |
+
|
| 822 |
with gr.Column(elem_id="app-shell"):
|
| 823 |
with gr.Column(elem_id="app-header"):
|
| 824 |
gr.Markdown("# **Map-Anything-v1**", elem_id="main-title")
|
|
|
|
| 832 |
file_count="multiple",
|
| 833 |
label="Upload Images/Videos",
|
| 834 |
file_types=["image", "video"],
|
| 835 |
+
height="240"
|
|
|
|
| 836 |
)
|
| 837 |
|
| 838 |
with gr.Row():
|
|
|
|
| 849 |
height="220",
|
| 850 |
object_fit="cover",
|
| 851 |
preview=True,
|
|
|
|
| 852 |
show_label=False,
|
| 853 |
)
|
| 854 |
|
|
|
|
| 888 |
with gr.Tab("3D View"):
|
| 889 |
reconstruction_output = Rerun(
|
| 890 |
label="Rerun 3D Viewer",
|
| 891 |
+
height=700,
|
| 892 |
)
|
| 893 |
|
| 894 |
with gr.Tab("Depth"):
|