KurtLin commited on
Commit
c46f4bf
·
1 Parent(s): 8896ee3

Initial Commit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def get_coords(evt: gr.SelectData):
18
 
19
  def inference(image, input_label):
20
  predictor.set_image(image)
21
- input_point = np.array([[int(input_label.split(',')[0]), int(input_label.split(',')[])]])
22
  input_label = np.array([1])
23
  masks, scores, logits = predictor.predict(
24
  point_coords=input_point,
 
18
 
19
  def inference(image, input_label):
20
  predictor.set_image(image)
21
+ input_point = np.array([[int(input_label.split(',')[0]), int(input_label.split(',')[1])]])
22
  input_label = np.array([1])
23
  masks, scores, logits = predictor.predict(
24
  point_coords=input_point,