yunyangx commited on
Commit
67ae9a9
·
1 Parent(s): b7e2cc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -411,7 +411,7 @@ with gr.Blocks(css=css, title="Efficient SAM") as demo:
411
  # Description
412
  gr.Markdown(description_p)
413
 
414
- cond_img_p.select(get_points_with_draw, [segm_img_p, cond_img_p, global_points, global_point_label], [segm_img_p, global_points, global_point_label])
415
 
416
  cond_img_b.select(get_points_with_draw_, [segm_img_b, cond_img_b, global_points, global_point_label], [segm_img_b, global_points, global_point_label])
417
 
 
411
  # Description
412
  gr.Markdown(description_p)
413
 
414
+ cond_img_p.select(get_points_with_draw, inputs = [segm_img_p, cond_img_p, global_points, global_point_label], outputs = [segm_img_p, global_points, global_point_label])
415
 
416
  cond_img_b.select(get_points_with_draw_, [segm_img_b, cond_img_b, global_points, global_point_label], [segm_img_b, global_points, global_point_label])
417