SamDaLamb commited on
Commit
56dd1d6
·
verified ·
1 Parent(s): e6a7fbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def detect_objects_in_image(image):
56
  print("hey")
57
  image = transforms.ToPILImage()(data) # Convert tensor to PIL image
58
 
59
- if isinstance(dara, Image.Image):
60
  print("hey2")
61
  orig_w, orig_h = data.size # PIL image size returns (width, height)
62
  else:
 
56
  print("hey")
57
  image = transforms.ToPILImage()(data) # Convert tensor to PIL image
58
 
59
+ if isinstance(data, Image.Image):
60
  print("hey2")
61
  orig_w, orig_h = data.size # PIL image size returns (width, height)
62
  else: