JiaminChen9889 commited on
Commit
a9ce186
·
1 Parent(s): 4594441

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -48,7 +48,7 @@ with gr.Blocks(title=title) as demo:
48
  gr.Markdown(description2)
49
  gr.Markdown("""---""")
50
 
51
- With gr.Row():
52
  with gr.Column():
53
  age = gr.Number(label="age Score", value=40)
54
  sex = gr.Dropdown(label="sex", choice =["Female, Male"], value ="index")
@@ -59,6 +59,7 @@ with gr.Blocks(title=title) as demo:
59
  chol = gr.Slider(label="chol Score", minimum=1, maximum=5, value=4, step=0.1, info = "cholestoral in mg/dl fetched via BMI sensor" )
60
  fbs = gr.Slider(label="fbs Score", choice = ["False","True"], value = "index", info ="(fasting blood sugar > 120 mg/dl) (1 = true; 0 = false)")
61
  restecg = gr.Slider(label="restecg Score", minimum=1, maximum=5, value=4, step= 0.1, info = "resting electrocardiographic results")
 
62
  with gr.Column():
63
  thalachh = gr.Slider(label="thalachh Score", minimum=1, maximum=500, value=4, step=1)
64
  exng = gr.Slider(label="exng Score", choice = ["False","True"], value = "index" )
 
48
  gr.Markdown(description2)
49
  gr.Markdown("""---""")
50
 
51
+ with gr.Row():
52
  with gr.Column():
53
  age = gr.Number(label="age Score", value=40)
54
  sex = gr.Dropdown(label="sex", choice =["Female, Male"], value ="index")
 
59
  chol = gr.Slider(label="chol Score", minimum=1, maximum=5, value=4, step=0.1, info = "cholestoral in mg/dl fetched via BMI sensor" )
60
  fbs = gr.Slider(label="fbs Score", choice = ["False","True"], value = "index", info ="(fasting blood sugar > 120 mg/dl) (1 = true; 0 = false)")
61
  restecg = gr.Slider(label="restecg Score", minimum=1, maximum=5, value=4, step= 0.1, info = "resting electrocardiographic results")
62
+
63
  with gr.Column():
64
  thalachh = gr.Slider(label="thalachh Score", minimum=1, maximum=500, value=4, step=1)
65
  exng = gr.Slider(label="exng Score", choice = ["False","True"], value = "index" )