akhaliq HF staff commited on
Commit
72def39
1 Parent(s): 549eec8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -40,7 +40,6 @@ cfg.MODEL.MASK_FORMER.TEST.SEMANTIC_ON = True
40
  cfg.MODEL.MASK_FORMER.TEST.INSTANCE_ON = True
41
  cfg.MODEL.MASK_FORMER.TEST.PANOPTIC_ON = True
42
  predictor = DefaultPredictor(cfg)
43
- outputs = predictor(im)
44
 
45
  def inference(img):
46
  im = cv2.imread(img)
 
40
  cfg.MODEL.MASK_FORMER.TEST.INSTANCE_ON = True
41
  cfg.MODEL.MASK_FORMER.TEST.PANOPTIC_ON = True
42
  predictor = DefaultPredictor(cfg)
 
43
 
44
  def inference(img):
45
  im = cv2.imread(img)