jens commited on
Commit
0b87dc6
·
1 Parent(s): 85003e7
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,13 +33,13 @@ with block:
33
  # UI
34
  with gr.Column():
35
  with gr.Row():
36
- input_image = gr.Image(label='Input', type='pil', tool=None)
37
  with gr.Column():
 
38
  sam_encode_btn = gr.Button('Encode', variant='primary')
39
  sam_encode_status = gr.Label('Not encoded yet')
40
  masks_annotated_image = gr.AnnotatedImage(label='Segments', height=512)
41
- pcl_figure = gr.Model3D(label="3-D Reconstruction", clear_color=[1.0, 1.0, 1.0, 1.0])
42
  with gr.Column():
 
43
  n_samples = gr.Slider(minimum=1e3, maximum=1e6, step=1e3, default=1e3, label='Number of Samples')
44
  cube_size = gr.Slider(minimum=0.000001, maximum=0.001, step=0.000001, default=0.00001, label='Cube size')
45
  with gr.Row():
 
33
  # UI
34
  with gr.Column():
35
  with gr.Row():
 
36
  with gr.Column():
37
+ input_image = gr.Image(label='Input', type='pil', tool=None)
38
  sam_encode_btn = gr.Button('Encode', variant='primary')
39
  sam_encode_status = gr.Label('Not encoded yet')
40
  masks_annotated_image = gr.AnnotatedImage(label='Segments', height=512)
 
41
  with gr.Column():
42
+ pcl_figure = gr.Model3D(label="3-D Reconstruction", clear_color=[1.0, 1.0, 1.0, 1.0])
43
  n_samples = gr.Slider(minimum=1e3, maximum=1e6, step=1e3, default=1e3, label='Number of Samples')
44
  cube_size = gr.Slider(minimum=0.000001, maximum=0.001, step=0.000001, default=0.00001, label='Cube size')
45
  with gr.Row():