Commit ·
8a2c348
1
Parent(s): b77d0c4
Update app.py
Browse files
app.py
CHANGED
|
@@ -97,7 +97,7 @@ with gr.Blocks(title=title) as demo:
|
|
| 97 |
with gr.Column():
|
| 98 |
thall = gr.Slider(label="thall Score", minimum=1, maximum=5, value=4, step=1)
|
| 99 |
|
| 100 |
-
submit_btn = gr.Button("Analyze")
|
| 101 |
|
| 102 |
with gr.Column(visible=True) as output_col:
|
| 103 |
label = gr.Label(label="Predicted Label")
|
|
@@ -111,7 +111,7 @@ submit_btn = gr.Button("Analyze")
|
|
| 111 |
)
|
| 112 |
|
| 113 |
|
| 114 |
-
gr.Markdown("### Click on any of the examples below to see how it works:")
|
| 115 |
-
gr.Examples([[24,0,4,4,5,5,4,4,5,5,1,2,3], [24,0,4,4,5,3,3,2,1,1,1,2,3]], [age, sex, cp, trtbps, chol, fbs, restecg, thalachh,exng,oldpeak,slp,caa,thall], [label,local_plot], main_func, cache_examples=True)
|
| 116 |
|
| 117 |
demo.launch()
|
|
|
|
| 97 |
with gr.Column():
|
| 98 |
thall = gr.Slider(label="thall Score", minimum=1, maximum=5, value=4, step=1)
|
| 99 |
|
| 100 |
+
submit_btn = gr.Button("Analyze")
|
| 101 |
|
| 102 |
with gr.Column(visible=True) as output_col:
|
| 103 |
label = gr.Label(label="Predicted Label")
|
|
|
|
| 111 |
)
|
| 112 |
|
| 113 |
|
| 114 |
+
gr.Markdown("### Click on any of the examples below to see how it works:")
|
| 115 |
+
gr.Examples([[24,0,4,4,5,5,4,4,5,5,1,2,3], [24,0,4,4,5,3,3,2,1,1,1,2,3]], [age, sex, cp, trtbps, chol, fbs, restecg, thalachh,exng,oldpeak,slp,caa,thall], [label,local_plot], main_func, cache_examples=True)
|
| 116 |
|
| 117 |
demo.launch()
|