Jaffermirza17 commited on
Commit
da1ac96
·
1 Parent(s): 6e18a6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -49,8 +49,7 @@ 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="sex Score", minimum=0, maximum=1, value=1, step=1)
53
- sex = gr.Radio(["Male", "Female"], label="Gender", info="What is your Gender?", type="index")
54
  cp = gr.Slider(label="cp Score", minimum=1, maximum=5, value=4, step=1)
55
  trtbps = gr.Slider(label="trtbps Score", minimum=1, maximum=200, value=4, step=1)
56
  chol = gr.Slider(label="chol Score", minimum=1, maximum=570, value=4, step=1)
 
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
  cp = gr.Slider(label="cp Score", minimum=1, maximum=5, value=4, step=1)
54
  trtbps = gr.Slider(label="trtbps Score", minimum=1, maximum=200, value=4, step=1)
55
  chol = gr.Slider(label="chol Score", minimum=1, maximum=570, value=4, step=1)