SamDaLamb commited on
Commit
7450cd2
·
verified ·
1 Parent(s): 59656ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -60,6 +60,7 @@ def detect_objects_in_image(image):
60
  else:
61
  # raise TypeError(f"Expected a PIL Image but got ")
62
  print(type(image))
 
63
 
64
  # Apply transformation
65
  img_tensor = transform(image).unsqueeze(0)
 
60
  else:
61
  # raise TypeError(f"Expected a PIL Image but got ")
62
  print(type(image))
63
+ break
64
 
65
  # Apply transformation
66
  img_tensor = transform(image).unsqueeze(0)