prithivMLmods commited on
Commit
6ffa849
·
verified ·
1 Parent(s): 1dc878a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -8
app.py CHANGED
@@ -816,9 +816,6 @@ 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
-
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,7 +829,7 @@ with gr.Blocks() as demo:
832
  file_count="multiple",
833
  label="Upload Images/Videos",
834
  file_types=["image", "video"],
835
- height="240"
836
  )
837
 
838
  with gr.Row():
@@ -846,7 +843,7 @@ with gr.Blocks() as demo:
846
  image_gallery = gr.Gallery(
847
  label="",
848
  columns=3,
849
- height="220",
850
  object_fit="cover",
851
  preview=True,
852
  show_label=False,
@@ -859,9 +856,9 @@ with gr.Blocks() as demo:
859
  size="sm",
860
  )
861
 
862
- submit_btn = gr.Button("Reconstruct", variant="primary", elem_id="btn-reconstruct")
863
 
864
- with gr.Accordion("Options", open=False, elem_id="options-panel"):
865
  gr.Markdown("### Point Cloud")
866
  show_cam = gr.Checkbox(label="Show cameras", value=True)
867
  show_mesh = gr.Checkbox(label="Show mesh", value=True)
@@ -873,7 +870,7 @@ with gr.Blocks() as demo:
873
  )
874
  frame_filter = gr.Dropdown(
875
  choices=["All"], value="All", label="Filter by Frame",
876
- elem_id="frame-filter", show_label=True,
877
  )
878
 
879
  with gr.Column(elem_id="right-panel", scale=1):
 
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
  file_count="multiple",
830
  label="Upload Images/Videos",
831
  file_types=["image", "video"],
832
+ height="200"
833
  )
834
 
835
  with gr.Row():
 
843
  image_gallery = gr.Gallery(
844
  label="",
845
  columns=3,
846
+ height="200",
847
  object_fit="cover",
848
  preview=True,
849
  show_label=False,
 
856
  size="sm",
857
  )
858
 
859
+ submit_btn = gr.Button("Reconstruct", variant="primary")
860
 
861
+ with gr.Accordion("Options", open=False):
862
  gr.Markdown("### Point Cloud")
863
  show_cam = gr.Checkbox(label="Show cameras", value=True)
864
  show_mesh = gr.Checkbox(label="Show mesh", 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):