Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -58,9 +58,12 @@ if img_upload != None:
|
|
58 |
# img=cv2.imread(img)
|
59 |
# img.save('tmp.jpg')
|
60 |
st.image(img)
|
61 |
-
c=classify(img)
|
62 |
st.markdown('#### Possible Disease Prediction:')
|
63 |
st.write('________________________________________________')
|
64 |
st.write(c)
|
|
|
|
|
|
|
65 |
# predict()
|
66 |
# os.remove('tmp.jpg')
|
|
|
58 |
# img=cv2.imread(img)
|
59 |
# img.save('tmp.jpg')
|
60 |
st.image(img)
|
61 |
+
c,b=classify(img)
|
62 |
st.markdown('#### Possible Disease Prediction:')
|
63 |
st.write('________________________________________________')
|
64 |
st.write(c)
|
65 |
+
st.markdown('#### Precautions To Be Taken :')
|
66 |
+
st.write('________________________________________________')
|
67 |
+
st.write(b)
|
68 |
# predict()
|
69 |
# os.remove('tmp.jpg')
|