JiaminChen9889 commited on
Commit
63086cf
·
1 Parent(s): 22e3347

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -55,14 +55,14 @@ with gr.Blocks(title=title) as demo:
55
  cp = gr.Dropdown(label="cp Score", choices = ["0", "1","2","3"], type = "index", value = "1",
56
  info = "Value 1: typical angina Value 2: atypical angina Value 3: non-anginal pain Value 4: asymptomatic trtbps : resting blood pressure (in mm Hg)")
57
  with gr.Column():
58
- trtbps = gr.Number(label="trtbps Score", minimum=94, maximum=200, value=100, step=1, info = "The person's resting blood pressure (mm Hg on admission to the hospital)")
59
- chol = gr.Number(label="chol Score", value=130, step=0.1, info = "cholestoral in mg/dl fetched via BMI sensor" )
60
  fbs = gr.Dropdown(label="fbs Score", choices = ["0", "1"], type = "index", value = "1")
61
  restecg = gr.Dropdown(label="restecg Score", choices = ["0", "1","2"], type = "index", value = "1", info = "resting electrocardiographic results")
62
  thall = gr.Dropdown(label="thall Score", choices = ["0", "1","2","3"], type = "index", value = "1")
63
 
64
  with gr.Column():
65
- thalachh = gr.Number(label="thalachh Score", value=100, step=1)
66
  exng = gr.Dropdown(label="exng Score", choices = ["0", "1"], type = "index", value = "1")
67
  oldpeak = gr.Slider(label="oldpeak Score", minimum=0, maximum=10, value=4, step=.1)
68
  slp = gr.Dropdown(label="slp Score", choices = ["0", "1","2"], type = "index", value = "1")
 
55
  cp = gr.Dropdown(label="cp Score", choices = ["0", "1","2","3"], type = "index", value = "1",
56
  info = "Value 1: typical angina Value 2: atypical angina Value 3: non-anginal pain Value 4: asymptomatic trtbps : resting blood pressure (in mm Hg)")
57
  with gr.Column():
58
+ trtbps = gr.Number(label="trtbps Score", value=100, step=1, info = "The person's resting blood pressure (mm Hg on admission to the hospital)")
59
+ chol = gr.Number(label="chol Score", value=130, info = "cholestoral in mg/dl fetched via BMI sensor" )
60
  fbs = gr.Dropdown(label="fbs Score", choices = ["0", "1"], type = "index", value = "1")
61
  restecg = gr.Dropdown(label="restecg Score", choices = ["0", "1","2"], type = "index", value = "1", info = "resting electrocardiographic results")
62
  thall = gr.Dropdown(label="thall Score", choices = ["0", "1","2","3"], type = "index", value = "1")
63
 
64
  with gr.Column():
65
+ thalachh = gr.Number(label="thalachh Score", value=100)
66
  exng = gr.Dropdown(label="exng Score", choices = ["0", "1"], type = "index", value = "1")
67
  oldpeak = gr.Slider(label="oldpeak Score", minimum=0, maximum=10, value=4, step=.1)
68
  slp = gr.Dropdown(label="slp Score", choices = ["0", "1","2"], type = "index", value = "1")