SkalskiP commited on
Commit
17a0b8f
·
1 Parent(s): 0691c7d

small fix

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -49,7 +49,6 @@ def process_image(image_input, text_input) -> Optional[Image.Image]:
49
  resolution_wh=image_input.size
50
  )
51
  detections = run_sam_inference(SAM_IMAGE_MODEL, image_input, detections)
52
- detections = run_sam_inference(SAM_IMAGE_MODEL, image_input, detections)
53
  if len(detections) == 0:
54
  gr.Info("No objects detected.")
55
  return None
 
49
  resolution_wh=image_input.size
50
  )
51
  detections = run_sam_inference(SAM_IMAGE_MODEL, image_input, detections)
 
52
  if len(detections) == 0:
53
  gr.Info("No objects detected.")
54
  return None