juxuan27 commited on
Commit
85eb89a
1 Parent(s): efdf9b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -273,7 +273,6 @@ with block:
273
  for p, l in sel_pix:
274
  points.append(p)
275
  labels.append(l)
276
- mobile_predictor=mobile_predictor
277
  mobile_predictor.set_image(img if isinstance(img, np.ndarray) else np.array(img))
278
  with torch.no_grad():
279
  masks, _, _ = mobile_predictor.predict(point_coords=np.array(points), point_labels=np.array(labels), multimask_output=False)
 
273
  for p, l in sel_pix:
274
  points.append(p)
275
  labels.append(l)
 
276
  mobile_predictor.set_image(img if isinstance(img, np.ndarray) else np.array(img))
277
  with torch.no_grad():
278
  masks, _, _ = mobile_predictor.predict(point_coords=np.array(points), point_labels=np.array(labels), multimask_output=False)