Spaces:
Sleeping
Sleeping
Update model.py
Browse files
model.py
CHANGED
|
@@ -18,28 +18,28 @@ def classify(img):
|
|
| 18 |
# st.write('________________________________________________')
|
| 19 |
if a==1:
|
| 20 |
st.write('________________________________________________')
|
| 21 |
-
c
|
| 22 |
# st.write('________________________________________________')
|
| 23 |
if a==2:
|
| 24 |
st.write('________________________________________________')
|
| 25 |
-
c
|
| 26 |
# st.write('________________________________________________')
|
| 27 |
if a==3:
|
| 28 |
st.write('________________________________________________')
|
| 29 |
-
c
|
| 30 |
# st.write('________________________________________________')
|
| 31 |
if a==4:
|
| 32 |
st.write('________________________________________________')
|
| 33 |
-
c
|
| 34 |
# st.write('________________________________________________')
|
| 35 |
if a==5:
|
| 36 |
st.write('________________________________________________')
|
| 37 |
-
c
|
| 38 |
# st.write('________________________________________________')
|
| 39 |
if a==6:
|
| 40 |
st.write('________________________________________________')
|
| 41 |
-
c
|
| 42 |
-
return c
|
| 43 |
|
| 44 |
|
| 45 |
|
|
|
|
| 18 |
# st.write('________________________________________________')
|
| 19 |
if a==1:
|
| 20 |
st.write('________________________________________________')
|
| 21 |
+
c= bone_net(im)
|
| 22 |
# st.write('________________________________________________')
|
| 23 |
if a==2:
|
| 24 |
st.write('________________________________________________')
|
| 25 |
+
c= brain_net(im)
|
| 26 |
# st.write('________________________________________________')
|
| 27 |
if a==3:
|
| 28 |
st.write('________________________________________________')
|
| 29 |
+
c= Eye_net(im)
|
| 30 |
# st.write('________________________________________________')
|
| 31 |
if a==4:
|
| 32 |
st.write('________________________________________________')
|
| 33 |
+
c= kidney_net(im)
|
| 34 |
# st.write('________________________________________________')
|
| 35 |
if a==5:
|
| 36 |
st.write('________________________________________________')
|
| 37 |
+
c= chest_net(im)
|
| 38 |
# st.write('________________________________________________')
|
| 39 |
if a==6:
|
| 40 |
st.write('________________________________________________')
|
| 41 |
+
c= skin_net(im)
|
| 42 |
+
return c
|
| 43 |
|
| 44 |
|
| 45 |
|