Spaces:
Runtime error
Runtime error
jens
commited on
Commit
·
6046fb8
1
Parent(s):
a2c6e8a
UI tweak
Browse files
app.py
CHANGED
@@ -44,13 +44,11 @@ with block:
|
|
44 |
prompt_image = gr.Image(label='Segments')
|
45 |
#prompt_lbl_image = gr.AnnotatedImage(label='Segment Labels')
|
46 |
lbl_image = gr.AnnotatedImage(label='Everything')
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
50 |
selected_masks_image = gr.AnnotatedImage(label='Selected Masks')
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
with gr.Row():
|
55 |
with gr.Column():
|
56 |
pcl_figure = gr.Model3D(label="3-D Reconstruction", clear_color=[1.0, 1.0, 1.0, 1.0])
|
|
|
44 |
prompt_image = gr.Image(label='Segments')
|
45 |
#prompt_lbl_image = gr.AnnotatedImage(label='Segment Labels')
|
46 |
lbl_image = gr.AnnotatedImage(label='Everything')
|
47 |
+
with gr.Row():
|
48 |
+
point_label_radio = gr.Radio(label='Point Label', choices=[1,0], value=1)
|
49 |
+
text = gr.Textbox(label='Mask Name')
|
50 |
+
reset_btn = gr.Button('New Mask')
|
51 |
selected_masks_image = gr.AnnotatedImage(label='Selected Masks')
|
|
|
|
|
|
|
52 |
with gr.Row():
|
53 |
with gr.Column():
|
54 |
pcl_figure = gr.Model3D(label="3-D Reconstruction", clear_color=[1.0, 1.0, 1.0, 1.0])
|