wangjin2000 commited on
Commit
13697e4
·
verified ·
1 Parent(s): 65914c9

Update app.py

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