Spaces:
Runtime error
Runtime error
PatrickTyBrown
commited on
Commit
•
19f2f15
1
Parent(s):
b962f12
update examples
Browse files- app.py +3 -4
- images/Conso.jpg +0 -0
- images/DBF.jpg +0 -0
- images/DLC.jpg +0 -0
- images/EHD.jpg +0 -0
- images/REA.jpg +0 -0
- images/TDD.jpg +0 -0
- images/UD.jpg +0 -0
- images/test1.jpg +0 -3
- images/test3.jpg +0 -0
- images/test5.jpg +0 -0
app.py
CHANGED
@@ -7,10 +7,9 @@ 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/
|
11 |
-
'images/IDR.jpg','images/PPD.jpg','images/PSLF.jpg','images/
|
12 |
-
'images/
|
13 |
-
'images/test3.jpg','images/test4.jpg','images/test5.jpg','images/test6.jpg']
|
14 |
|
15 |
def preprocess(img):
|
16 |
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/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))
|
images/Conso.jpg
DELETED
Binary file (75 kB)
|
|
images/DBF.jpg
DELETED
Binary file (609 kB)
|
|
images/DLC.jpg
CHANGED
images/EHD.jpg
CHANGED
images/REA.jpg
DELETED
Binary file (423 kB)
|
|
images/TDD.jpg
DELETED
Binary file (559 kB)
|
|
images/UD.jpg
DELETED
Binary file (465 kB)
|
|
images/test1.jpg
DELETED
Git LFS Details
|
images/test3.jpg
DELETED
Binary file (155 kB)
|
|
images/test5.jpg
DELETED
Binary file (258 kB)
|
|