Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -253,7 +253,7 @@ def predict(image):
|
|
253 |
std = [0.229, 0.224, 0.225]
|
254 |
image = (image / 255.0 - mean)/std
|
255 |
|
256 |
-
print("normalized image:" image.shape)
|
257 |
|
258 |
# Convert the image to a numpy array and add a batch dimension
|
259 |
if len(input_shape) == 4 and input_shape[0] == 1:
|
|
|
253 |
std = [0.229, 0.224, 0.225]
|
254 |
image = (image / 255.0 - mean)/std
|
255 |
|
256 |
+
print("normalized image:", image.shape)
|
257 |
|
258 |
# Convert the image to a numpy array and add a batch dimension
|
259 |
if len(input_shape) == 4 and input_shape[0] == 1:
|