Jaffermirza17 commited on
Commit
22cfb99
1 Parent(s): 3794ccb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -47,14 +47,14 @@ with gr.Blocks(title=title) as demo:
47
  gr.Markdown("""---""")
48
  gr.Markdown(description2)
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
- animal = gr.Radio(["park", "zoo", "road"], label="Location", info="Where did they go?")
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)
57
- fbs = gr.Slider(label="fbs Score", minimum=1, maximum=5, value=4, step=1)
58
 
59
  restecg = gr.Slider(label="restecg Score", minimum=1, maximum=5, value=4, step=1)
60
  thalachh = gr.Slider(label="thalachh Score", minimum=1, maximum=205, value=4, step=1)
 
47
  gr.Markdown("""---""")
48
  gr.Markdown(description2)
49
  gr.Markdown("""---""")
50
+
51
+ with gradio.Row():
52
+ age = gr.Number(label="age Score", value=80)
53
+ sex = gr.Slider(label="sex Score", minimum=0, maximum=1, value=1, step=1)
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)
57
+ fbs = gr.Slider(label="fbs Score", minimum=1, maximum=5, value=4, step=1)
58
 
59
  restecg = gr.Slider(label="restecg Score", minimum=1, maximum=5, value=4, step=1)
60
  thalachh = gr.Slider(label="thalachh Score", minimum=1, maximum=205, value=4, step=1)