kumar989 commited on
Commit
5a4e86d
·
1 Parent(s): 2042ead

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +3 -1
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 "Enter the medical Image"
 
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: