MedMagik commited on
Commit
0d586e4
·
verified ·
1 Parent(s): 1a5e0a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def custom_decode_predictions(predictions, class_labels):
62
  return decoded_predictions
63
 
64
  def classify_image(img):
65
- img = cv2.resize(img, (540, 720), interpolation=cv2.INTER_AREA)
66
  img_array = img_to_array(img)
67
  img_array = np.expand_dims(img_array, axis=0)
68
  img_array = preprocess_input(img_array)
 
62
  return decoded_predictions
63
 
64
  def classify_image(img):
65
+ img = cv2.resize(img, (540, 540), interpolation=cv2.INTER_AREA)
66
  img_array = img_to_array(img)
67
  img_array = np.expand_dims(img_array, axis=0)
68
  img_array = preprocess_input(img_array)