Spaces:
Sleeping
Sleeping
Update model.py
Browse files
model.py
CHANGED
|
@@ -11,8 +11,10 @@ def classify(img):
|
|
| 11 |
result = model.predict(np.array([im]))
|
| 12 |
a = np.argmax(result)
|
| 13 |
c=""
|
|
|
|
| 14 |
if a==0:
|
| 15 |
-
return "
|
|
|
|
| 16 |
if a==1:
|
| 17 |
c = bone_net(im)
|
| 18 |
if a==2:
|
|
|
|
| 11 |
result = model.predict(np.array([im]))
|
| 12 |
a = np.argmax(result)
|
| 13 |
c=""
|
| 14 |
+
st.write('________________________________________________')
|
| 15 |
if a==0:
|
| 16 |
+
return "Provide the medical Imaging of the mentioned categories"
|
| 17 |
+
st.write('________________________________________________')
|
| 18 |
if a==1:
|
| 19 |
c = bone_net(im)
|
| 20 |
if a==2:
|