Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +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 |
|
65 |
# Apply transformation
|
66 |
img_tensor = transform(image).unsqueeze(0)
|
|
|
60 |
else:
|
61 |
# raise TypeError(f"Expected a PIL Image but got ")
|
62 |
print(type(image))
|
63 |
+
exit()
|
64 |
|
65 |
# Apply transformation
|
66 |
img_tensor = transform(image).unsqueeze(0)
|