wangjin2000 commited on
Commit
f74e69a
·
verified ·
1 Parent(s): 3c0cd86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def preprocess_image(image):
65
  img = img.unsqueeze(0)
66
  print("in preprocess-2 img.shape:",img.shape)
67
 
68
- return img, img0
69
 
70
  def infer(model, img):
71
  with torch.no_grad():
 
65
  img = img.unsqueeze(0)
66
  print("in preprocess-2 img.shape:",img.shape)
67
 
68
+ return img, image
69
 
70
  def infer(model, img):
71
  with torch.no_grad():