Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -279,7 +279,7 @@ def predict(image):
|
|
279 |
annotated_img = output[0]
|
280 |
|
281 |
# Reshape the image to match the PIL Image input shape
|
282 |
-
|
283 |
annotated_img = annotated_img.reshape(640, 640, 3)
|
284 |
print("annotated_img shape after reshape:", annotated_img.shape)
|
285 |
|
|
|
279 |
annotated_img = output[0]
|
280 |
|
281 |
# Reshape the image to match the PIL Image input shape
|
282 |
+
print("annotated_img shape before reshape:", annotated_img.shape)
|
283 |
annotated_img = annotated_img.reshape(640, 640, 3)
|
284 |
print("annotated_img shape after reshape:", annotated_img.shape)
|
285 |
|