Spaces:
Build error
Build error
Commit
·
4e4912d
1
Parent(s):
3d8e36d
Update app.py
Browse files
app.py
CHANGED
@@ -42,11 +42,11 @@ To use the app, click on one of the examples, or adjust the values of the factor
|
|
42 |
"""
|
43 |
|
44 |
with gr.Blocks(title=title) as demo:
|
45 |
-
gr.
|
46 |
-
gr.
|
47 |
-
gr.
|
48 |
-
gr.
|
49 |
-
gr.
|
50 |
|
51 |
age = gr.Number(label="age Score", value=40)
|
52 |
sex = gr.Slider(label="sex Score", minimum=0, maximum=1, value=1, step=1)
|
@@ -79,4 +79,5 @@ with gr.Blocks(title=title) as demo:
|
|
79 |
gr.Markdown("### Click on any of the examples below to see how it works:")
|
80 |
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)
|
81 |
|
|
|
82 |
demo.launch()
|
|
|
42 |
"""
|
43 |
|
44 |
with gr.Blocks(title=title) as demo:
|
45 |
+
gr.Markdown(f"## {title}")
|
46 |
+
gr.Markdown(description1)
|
47 |
+
gr.Markdown("""---""")
|
48 |
+
gr.Markdown(description2)
|
49 |
+
gr.Markdown("""---""")
|
50 |
|
51 |
age = gr.Number(label="age Score", value=40)
|
52 |
sex = gr.Slider(label="sex Score", minimum=0, maximum=1, value=1, step=1)
|
|
|
79 |
gr.Markdown("### Click on any of the examples below to see how it works:")
|
80 |
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)
|
81 |
|
82 |
+
|
83 |
demo.launch()
|