lkeab commited on
Commit
749f060
1 Parent(s): 30204ee

update app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ predictor = DefaultPredictor(cfg)
46
 
47
 
48
  def inference(image):
49
- img = np.array(image.resize((1024,1024)))
50
  outputs = predictor(img)
51
 
52
  v = Visualizer(img, MetadataCatalog.get(cfg.DATASETS.TRAIN[0]), scale=1.2)
 
46
 
47
 
48
  def inference(image):
49
+ img = np.array(image)
50
  outputs = predictor(img)
51
 
52
  v = Visualizer(img, MetadataCatalog.get(cfg.DATASETS.TRAIN[0]), scale=1.2)