aje6 commited on
Commit
0dafd93
·
verified ·
1 Parent(s): c69a4de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: