cnasa commited on
Commit
818640c
1 Parent(s): 78a9d44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,9 +16,9 @@ def Prediction_VGG16(image):
16
  #Prepare image
17
  IMG_SIZE = 224
18
  image = img_to_array(image)
19
- image = image**1.0/255.0
20
  img_prepared = image.reshape((-1,IMG_SIZE,IMG_SIZE,3))
21
- print(img_prepared)
22
 
23
  #Load model vgg6 package
24
  path = "model_vgg16.h5"
 
16
  #Prepare image
17
  IMG_SIZE = 224
18
  image = img_to_array(image)
19
+ image = image*1.0/255.0
20
  img_prepared = image.reshape((-1,IMG_SIZE,IMG_SIZE,3))
21
+
22
 
23
  #Load model vgg6 package
24
  path = "model_vgg16.h5"