Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|