Parthebhan commited on
Commit
cae4728
·
verified ·
1 Parent(s): f684d31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,7 +21,7 @@ def salarybracket(age, workclass, education, education_num, marital_status, occu
21
 
22
 
23
  # Create the Gradio interface
24
- cerviccancer_ga = gr.Interface(fn=cerviccancer,
25
  inputs = [
26
  gr.Number(13.0, 84.0, label="Age: [13 to 84]"),
27
  gr.Number(1.0, 28.0, label="workclass: [1 to 28]"),
@@ -37,7 +37,7 @@ cerviccancer_ga = gr.Interface(fn=cerviccancer,
37
  gr.Number(0.0, 1.0, label="hours_per_week: [0 or 1]"),
38
  gr.Number(0.0, 1.0, label="native_country: [0 or 1]"),
39
  ],
40
- outputs="text", title="Cervical Cancer Risk Prediction",
41
  examples = [
42
  [75,0,0,6,6,0,2,1,0,0,0,1,3,0,0],
43
  [25,4,11,9,2,13,2,4,0,0,0,48,38,1,1],
 
21
 
22
 
23
  # Create the Gradio interface
24
+ salarybracket_ga = gr.Interface(fn=salarybracket,
25
  inputs = [
26
  gr.Number(13.0, 84.0, label="Age: [13 to 84]"),
27
  gr.Number(1.0, 28.0, label="workclass: [1 to 28]"),
 
37
  gr.Number(0.0, 1.0, label="hours_per_week: [0 or 1]"),
38
  gr.Number(0.0, 1.0, label="native_country: [0 or 1]"),
39
  ],
40
+ outputs="text", title="Salary Bracket Prediction",
41
  examples = [
42
  [75,0,0,6,6,0,2,1,0,0,0,1,3,0,0],
43
  [25,4,11,9,2,13,2,4,0,0,0,48,38,1,1],