Jaffermirza17 commited on
Commit
e051a70
·
1 Parent(s): 2921fd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -49,11 +49,9 @@ with gr.Blocks(title=title) as demo:
49
  gr.Markdown("""---""")
50
 
51
  age = gr.Number(label="age Score", value=80)
52
- #sex = gr.Slider(label="Gender", minimum=0, maximum=1, value=1, step=1, info = "What is your gender?")
53
  sex = gr.Radio(["Male", "Female"], label="Gender", type = "index", info = "What is your gender?")
54
- #cp = gr.Slider(label="cp Score", minimum=1, maximum=5, value=4, step=1)
55
- cp = gr.Radio([0,1,2,3,4,5], label="Chest Pain", info="Rate the severity of your chest pain:")
56
- trtbps = gr.Slider(label="trtbps Score", minimum=1, maximum=200, value=4, step=1)
57
  chol = gr.Slider(label="chol Score", minimum=1, maximum=570, value=4, step=1)
58
  fbs = gr.Slider(label="fbs Score", minimum=1, maximum=5, value=4, step=1)
59
 
 
49
  gr.Markdown("""---""")
50
 
51
  age = gr.Number(label="age Score", value=80)
 
52
  sex = gr.Radio(["Male", "Female"], label="Gender", type = "index", info = "What is your gender?")
53
+ cp = gr.Radio([0,1,2,3,4,5], label="Chest Pain", info="Rate the severity of your chest pain [0: none, 5: ER RIGHT NOW]:")
54
+ trtbps = gr.Number(label="Resting Blood Pressure", info = "What is your resting blood pressure?", minimum=1, maximum=200, value=4)
 
55
  chol = gr.Slider(label="chol Score", minimum=1, maximum=570, value=4, step=1)
56
  fbs = gr.Slider(label="fbs Score", minimum=1, maximum=5, value=4, step=1)
57