Spaces:
Running
on
Zero
Running
on
Zero
Update sam2_mask.py
Browse files- sam2_mask.py +2 -2
sam2_mask.py
CHANGED
@@ -171,8 +171,8 @@ def create_sam2_tab():
|
|
171 |
points_map.upload(
|
172 |
fn = preprocess_image,
|
173 |
inputs = [points_map],
|
174 |
-
outputs=[sam_input_image, first_frame, tracking_points, trackings_input_label],
|
175 |
-
|
176 |
queue=False
|
177 |
)
|
178 |
|
|
|
171 |
points_map.upload(
|
172 |
fn = preprocess_image,
|
173 |
inputs = [points_map],
|
174 |
+
# outputs=[sam_input_image, first_frame, tracking_points, trackings_input_label],
|
175 |
+
outputs = [first_frame, tracking_points, trackings_input_label, sam_input_image]
|
176 |
queue=False
|
177 |
)
|
178 |
|