Spaces:
Build error
Build error
Update app.py
Browse files
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)
|