Update app.py
Browse files
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 |
-
|
| 91 |
submit_btn = gr.Button("Analyze")
|
| 92 |
|
| 93 |
-
with gr.Column(visible=True) as output_col:
|
| 94 |
-
|
| 95 |
-
|
| 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,
|