Commit
•
e0a5ec3
1
Parent(s):
a04b4fe
Update appp.py
Browse files
appp.py
CHANGED
@@ -40,7 +40,7 @@ def upload_image():
|
|
40 |
finally:
|
41 |
imag.close()
|
42 |
print(imag)
|
43 |
-
classes = ['
|
44 |
img=image.load_img(str(imag.filename),target_size=(224,224))
|
45 |
x=image.img_to_array(img)
|
46 |
x=x/255
|
|
|
40 |
finally:
|
41 |
imag.close()
|
42 |
print(imag)
|
43 |
+
classes = ['Pepper bell Bacterial spot', 'Pepper bell healthy', 'Potato Early blight', 'Potato Late blight', 'Potato healthy', 'Tomato Bacterial spot', 'Tomato Early blight', 'Tomato Late blight', 'Tomato Leaf Mold', 'Tomato Septoria leaf spot', 'Tomato Spider mites Two spotted spider mite', 'Tomato Target Spot', 'Tomato Tomato YellowLeaf Curl Virus', 'Tomato Tomato mosaic virus', 'Tomato healthy']
|
44 |
img=image.load_img(str(imag.filename),target_size=(224,224))
|
45 |
x=image.img_to_array(img)
|
46 |
x=x/255
|