MedMagik commited on
Commit
7cd53dd
·
verified ·
1 Parent(s): ed11918

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def custom_decode_predictions(predictions, class_labels):
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 = exposure.equalize_hist(img_array)
68
  img_array = np.expand_dims(img_array, axis=0)
69
  img_array = preprocess_input(img_array)
70
 
 
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 = exposure.equalize_hist(img_array)
68
  img_array = np.expand_dims(img_array, axis=0)
69
  img_array = preprocess_input(img_array)
70