flamehaze1115 commited on
Commit
af1097e
·
verified ·
1 Parent(s): 185fc18

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +0 -1
gradio_app.py CHANGED
@@ -65,7 +65,6 @@ def sam_segment(predictor, input_image, *bbox_coords):
65
  image = np.asarray(input_image)
66
 
67
  start_time = time.time()
68
- predictor.set_image(image)
69
 
70
  generator(image_url, points_per_batch = 256)
71
 
 
65
  image = np.asarray(input_image)
66
 
67
  start_time = time.time()
 
68
 
69
  generator(image_url, points_per_batch = 256)
70