Beladiaamy commited on
Commit
1f58cfb
·
verified ·
1 Parent(s): ebc8944

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -5
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([[0,0,1,0,22,0,0,0,1,1,1,0,0,1,3,25,23,1,1,21,5,3], [1,1,1,1,30,1,1,1,0,0,0,1,1,0,2,20,23,0,0,21,3,2]],
198
- [HighBP, HighChol, CholCheck, BMI, Smoker, Stroke, HeartDiseaseorAttack, PhysActivity, Fruits, Veggies, HvyAlcoholConsump,
199
- AnyHealthcare, NoDocbcCost, GenHlth, MentHlth, PhysHlth, DiffWalk, Sex, Age, Education, Income],
200
- [label,local_plot], main_func, cache_examples=True)
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()