Jessycao commited on
Commit
5b5fa48
·
1 Parent(s): 8dac9dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -87,12 +87,12 @@ with gr.Blocks(title=title) as demo:
87
  caa = gr.Slider(label="Number of Major Vessels", minimum=0, maximum=3, value=0, step=1)
88
  thall = gr.Radio(label="Thalassemia", choices = ["Reversible Defect", "Normal Blood Flow", "Fixed Defect"])
89
 
90
- with gr.Column():
91
  submit_btn = gr.Button("Analyze")
92
 
93
- with gr.Column(visible=True) as output_col:
94
- label = gr.Label(label = "Predicted Label")
95
- local_plot = gr.Plot(label = 'Shap:')
96
 
97
  submit_btn.click(
98
  main_func,
 
87
  caa = gr.Slider(label="Number of Major Vessels", minimum=0, maximum=3, value=0, step=1)
88
  thall = gr.Radio(label="Thalassemia", choices = ["Reversible Defect", "Normal Blood Flow", "Fixed Defect"])
89
 
90
+
91
  submit_btn = gr.Button("Analyze")
92
 
93
+ with gr.Column(visible=True) as output_col:
94
+ label = gr.Label(label = "Predicted Label")
95
+ local_plot = gr.Plot(label = 'Shap:')
96
 
97
  submit_btn.click(
98
  main_func,