ruiite commited on
Commit
82a5e1b
1 Parent(s): 9d26311

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def inference(image):
38
  # height = image.height
39
 
40
  # img = np.array(image.resize((500, height)))
41
- outputs = predictor(img)
42
 
43
  v = Visualizer(img,scale=1.2)
44
  out = v.draw_instance_predictions(outputs["instances"].to("cpu"))
 
38
  # height = image.height
39
 
40
  # img = np.array(image.resize((500, height)))
41
+ outputs = predictor(image)
42
 
43
  v = Visualizer(img,scale=1.2)
44
  out = v.draw_instance_predictions(outputs["instances"].to("cpu"))