fffiloni commited on
Commit
5dc63c4
1 Parent(s): 94e5f87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()