Update app.py
Browse files
app.py
CHANGED
@@ -194,10 +194,14 @@ with gr.Blocks(title=title) as demo:
|
|
194 |
)
|
195 |
|
196 |
gr.Markdown("### Click on any of the examples below to see how it works:")
|
197 |
-
gr.Examples(
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
|
|
|
|
|
|
|
|
202 |
|
203 |
demo.launch()
|
|
|
194 |
)
|
195 |
|
196 |
gr.Markdown("### Click on any of the examples below to see how it works:")
|
197 |
+
gr.Examples(
|
198 |
+
[["No", "No", "No", "Yes", 22, "No", "No", "No", "Yes", "Yes", "Yes", "No", "No", "Yes", 3, 25, 23, "No", "Female", 22, "Grade 12 or GED", "> 35,000"],
|
199 |
+
["Yes", "Yes", "Yes", "Yes", 30, "Yes", "Yes", "Yes", "No", "No", "No", "Yes", "Yes", "No", 2, 20, 23, "No", "No", 21, "College 4+ years", "< $75,000"]],
|
200 |
+
[HighBP, HighChol, CholCheck, BMI, Smoker, Stroke, HeartDiseaseorAttack, PhysActivity, Fruits, Veggies, HvyAlcoholConsump,
|
201 |
+
AnyHealthcare, NoDocbcCost, GenHlth, MentHlth, PhysHlth, DiffWalk, Sex, Age, Education, Income],
|
202 |
+
[label, local_plot],
|
203 |
+
main_func,
|
204 |
+
cache_examples=True
|
205 |
+
)
|
206 |
|
207 |
demo.launch()
|