PatrickTyBrown commited on
Commit
66fa0b9
1 Parent(s): 19f2f15

reorder examples

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -7,9 +7,10 @@ import numpy as np
7
  # multiclass_model = pickle.load(open('models/MulticlassModel_200x200', 'rb'))
8
  ensemble_model = pickle.load(open('EnsembleModels_200x200', 'rb'))
9
 
10
- examples = ["images/Incom.jpg", "images/DLC.jpg", 'images/EHD.jpg','images/test4.jpg','images/test6.jpg',
 
11
  'images/IDR.jpg','images/PPD.jpg','images/PSLF.jpg' ,'images/SCD.jpg',
12
- 'images/TLF.jpg','images/test2.jpg']
13
 
14
  def preprocess(img):
15
  img = cv2.resize(img, (200,200))
 
7
  # multiclass_model = pickle.load(open('models/MulticlassModel_200x200', 'rb'))
8
  ensemble_model = pickle.load(open('EnsembleModels_200x200', 'rb'))
9
 
10
+ examples = ['images/test2.jpg','images/test4.jpg','images/test6.jpg',
11
+ "images/Incom.jpg", "images/DLC.jpg", 'images/EHD.jpg',
12
  'images/IDR.jpg','images/PPD.jpg','images/PSLF.jpg' ,'images/SCD.jpg',
13
+ 'images/TLF.jpg']
14
 
15
  def preprocess(img):
16
  img = cv2.resize(img, (200,200))