Spaces:
Runtime error
Runtime error
Merge branch 'main' of hf.co:spaces/angelasnpang/segment-anything-ui
Browse files
app.py
CHANGED
@@ -67,7 +67,6 @@ with block:
|
|
67 |
point_coords, point_labels, raw_image, masks, cutout_idx,
|
68 |
feedback, upvote_button, downvote_button, feedback_textbox,
|
69 |
input_image, point_label_radio, reset_btn, run_btn, masks_annotated_image}
|
70 |
-
|
71 |
# event - init coords
|
72 |
def on_reset_btn_click(raw_image):
|
73 |
return raw_image, point_coords_empty(), point_labels_empty(), None, []
|
|
|
67 |
point_coords, point_labels, raw_image, masks, cutout_idx,
|
68 |
feedback, upvote_button, downvote_button, feedback_textbox,
|
69 |
input_image, point_label_radio, reset_btn, run_btn, masks_annotated_image}
|
|
|
70 |
# event - init coords
|
71 |
def on_reset_btn_click(raw_image):
|
72 |
return raw_image, point_coords_empty(), point_labels_empty(), None, []
|