paragon-analytics commited on
Commit
03b52ab
1 Parent(s): a6a906c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -52,12 +52,9 @@ with gr.Blocks(title=title) as demo:
52
  sex = gr.Slider(label="sex Score", minimum=0, maximum=1, value=1, step=1)
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=5, value=4, step=1)
 
 
55
 
56
- chol = gr.ColorPicker(label="chol Score", colors=["white", "yellow", "orange", "red"], value="orange")
57
- fbs_button = gr.inputs.Button(label="fbs")
58
- def on_fbs_click():
59
- fbs_button.label = "clicked!"
60
- fbs_button.set_click_handler(on_fbs_click)
61
  restecg = gr.Slider(label="restecg Score", minimum=1, maximum=5, value=4, step=1)
62
  thalachh = gr.Slider(label="thalachh Score", minimum=1, maximum=5, value=4, step=1)
63
 
 
52
  sex = gr.Slider(label="sex Score", minimum=0, maximum=1, value=1, step=1)
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=5, value=4, step=1)
55
+ chol = gr.Slider(label="chol Score", minimum=1, maximum=5, value=4, step=1)
56
+ fbs = gr.Slider(label="fbs Score", minimum=1, maximum=5, value=4, step=1)
57
 
 
 
 
 
 
58
  restecg = gr.Slider(label="restecg Score", minimum=1, maximum=5, value=4, step=1)
59
  thalachh = gr.Slider(label="thalachh Score", minimum=1, maximum=5, value=4, step=1)
60