SmallO commited on
Commit
0b1f412
·
1 Parent(s): 82925e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ def main():
83
  "Asthma": [Asthma],
84
  "KidneyDisease": [KidneyDisease],
85
  "SkinCancer": [SkinCancer]}))
86
- result = 'Yes' if result[0] == 1 else 'No'
87
  st.success('The predicted HeartDisease is {}'.format(result))
88
 
89
  if __name__=='__main__':
 
83
  "Asthma": [Asthma],
84
  "KidneyDisease": [KidneyDisease],
85
  "SkinCancer": [SkinCancer]}))
86
+ result = 'You are at risk of developing heart disease.' if result[0] == 1 else 'You are not at risk of heart disease.'
87
  st.success('The predicted HeartDisease is {}'.format(result))
88
 
89
  if __name__=='__main__':