Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -134,7 +134,7 @@ def sam_process(input_image, tracking_points, trackings_input_label):
|
|
| 134 |
results = show_masks(image, masks, scores, point_coords=input_point, input_labels=input_label, borders=True)
|
| 135 |
print(results)
|
| 136 |
|
| 137 |
-
return results
|
| 138 |
|
| 139 |
with gr.Blocks() as demo:
|
| 140 |
first_frame_path = gr.State()
|
|
|
|
| 134 |
results = show_masks(image, masks, scores, point_coords=input_point, input_labels=input_label, borders=True)
|
| 135 |
print(results)
|
| 136 |
|
| 137 |
+
return results[0]
|
| 138 |
|
| 139 |
with gr.Blocks() as demo:
|
| 140 |
first_frame_path = gr.State()
|