cbuehler commited on
Commit
94d26ca
Β·
verified Β·
1 Parent(s): 4c7da12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -33,8 +33,8 @@ def main_func(SEQN, RIDAGEYR, RIAGENDR, PAQ605, BMXBMI, LBXGLU, DIQ010, LBXGLT,L
33
  return {"Low Chance": float(prob[0][0]), "High Chance": 1-float(prob[0][0])}, local_plot
34
 
35
  # Create the UI
36
- title = "**Heart Attack Predictor & Interpreter** πŸͺ"
37
- description1 = """This app takes info from subjects and predicts their heart attack likelihood. Do not use for medical diagnosis."""
38
 
39
  description2 = """
40
  To use the app, click on one of the examples, or adjust the values of the factors, and click on Analyze. 🀞
@@ -68,7 +68,7 @@ with gr.Blocks(title=title) as demo:
68
  submit_btn.click(
69
  main_func,
70
  [SEQN, RIDAGEYR, RIAGENDR, PAQ605, BMXBMI, LBXGLU, DIQ010, LBXGLT,LBXIN],
71
- [label,local_plot], api_name="Heart_Predictor"
72
  )
73
 
74
  gr.Markdown("### Click on any of the examples below to see how it works:")
 
33
  return {"Low Chance": float(prob[0][0]), "High Chance": 1-float(prob[0][0])}, local_plot
34
 
35
  # Create the UI
36
+ title = "**National Health and Nutritional Health Assessment** πŸͺ"
37
+ description1 = """This app takes info from subjects of various health and nutritional status and predicts their age. Do not use for medical diagnosis."""
38
 
39
  description2 = """
40
  To use the app, click on one of the examples, or adjust the values of the factors, and click on Analyze. 🀞
 
68
  submit_btn.click(
69
  main_func,
70
  [SEQN, RIDAGEYR, RIAGENDR, PAQ605, BMXBMI, LBXGLU, DIQ010, LBXGLT,LBXIN],
71
+ [label,local_plot], api_name="Age_Predictor"
72
  )
73
 
74
  gr.Markdown("### Click on any of the examples below to see how it works:")