criticalDanger commited on
Commit
766fbf5
1 Parent(s): a12a14b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -21,13 +21,13 @@ def predict_heart_disease(male, age, currentSmoker, cigsPerDay, BPMeds, prevalen
21
  # Define the input components
22
  inputs = [
23
  gr.Radio(choices=["Male", "Female"], label="Sex"),
24
- gr.Number(label="Age")
25
- gr.Text(label="Do you smoke? (Yes/No)")
26
- gr.Number(label="Number of ciggerates a day")
27
- gr.Text(label="Do you take BP medicines?")
28
- gr.text(label="Have you hade strokes previously?")
29
- gr.text(label="Have you hade High BP previously?")
30
- gr.text(label="Do you have Diabetes?")
31
  gr.Number(value=float, label="BMI")
32
 
33
  ]
 
21
  # Define the input components
22
  inputs = [
23
  gr.Radio(choices=["Male", "Female"], label="Sex"),
24
+ gr.Number(label="Age"),
25
+ gr.Text(label="Do you smoke? (Yes/No)"),
26
+ gr.Number(label="Number of ciggerates a day"),
27
+ gr.Text(label="Do you take BP medicines?"),
28
+ gr.text(label="Have you hade strokes previously?"),
29
+ gr.text(label="Have you hade High BP previously?"),
30
+ gr.text(label="Do you have Diabetes?"),
31
  gr.Number(value=float, label="BMI")
32
 
33
  ]