Spaces:
Runtime error
Runtime error
jens
commited on
Commit
·
4f4f67b
1
Parent(s):
077fc91
fix btn
Browse files
app.py
CHANGED
|
@@ -35,10 +35,10 @@ with block:
|
|
| 35 |
with gr.Row():
|
| 36 |
with gr.Column(scale=1):
|
| 37 |
point_label_radio = gr.Radio(label='Point Label', choices=[1,0], value=1)
|
| 38 |
-
reset_btn = gr.Button('Reset')
|
| 39 |
sam_sgmt_everything_btn = gr.Button('Segment Everything!', variant = 'primary')
|
| 40 |
-
sam_encode_btn = gr.Button('Encode'
|
| 41 |
-
sam_decode_btn = gr.Button('Predict using points!')
|
|
|
|
| 42 |
|
| 43 |
# components
|
| 44 |
components = {point_coords, point_labels, raw_image, masks, cutout_idx, input_image,
|
|
|
|
| 35 |
with gr.Row():
|
| 36 |
with gr.Column(scale=1):
|
| 37 |
point_label_radio = gr.Radio(label='Point Label', choices=[1,0], value=1)
|
|
|
|
| 38 |
sam_sgmt_everything_btn = gr.Button('Segment Everything!', variant = 'primary')
|
| 39 |
+
sam_encode_btn = gr.Button('Encode')
|
| 40 |
+
sam_decode_btn = gr.Button('Predict using points!', variant = 'primary')
|
| 41 |
+
reset_btn = gr.Button('Reset')
|
| 42 |
|
| 43 |
# components
|
| 44 |
components = {point_coords, point_labels, raw_image, masks, cutout_idx, input_image,
|