KikoDM commited on
Commit
c2b785c
1 Parent(s): f82d5ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,9 +26,9 @@ def cardio(age,is_male,ap_hi,ap_lo,cholesterol,gluc,smoke,alco,active,height,wei
26
 
27
  pred = model.predict(df)[0]
28
  if pred==1:
29
- predicted="Risk"
30
  else:
31
- predicted="Not Risk"
32
  return predicted
33
 
34
  iface = gr.Interface(
 
26
 
27
  pred = model.predict(df)[0]
28
  if pred==1:
29
+ predicted="Tiene un riesgo alto de sufrir problemas cardiovasculares"
30
  else:
31
+ predicted="Su riesgo de sufrir problemas cardiovasculares es muy bajo. Siga así."
32
  return predicted
33
 
34
  iface = gr.Interface(