akhaliq HF staff commited on
Commit
0970ad6
1 Parent(s): 3b10901

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -29,6 +29,7 @@ coco_metadata = MetadataCatalog.get("coco_2017_val_panoptic")
29
  from mask2former import add_maskformer2_config
30
 
31
  from PIL import Image
 
32
 
33
  cfg = get_cfg()
34
  cfg.MODEL.DEVICE='cpu'
 
29
  from mask2former import add_maskformer2_config
30
 
31
  from PIL import Image
32
+ import imutils
33
 
34
  cfg = get_cfg()
35
  cfg.MODEL.DEVICE='cpu'