pgurazada1 commited on
Commit
3354acb
1 Parent(s): e70ffe8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -18
app.py CHANGED
@@ -41,24 +41,24 @@ textbox = gr.Textbox(placeholder="Enter your query here", lines=6)
41
 
42
  schema = """
43
  The schema of the table you can query on is presented below:
44
- | Column | Type |
45
- |-----------|--------|
46
- | age | int |
47
- | job | str |
48
- | marital | str |
49
- | education | str |
50
- | default | yes/no |
51
- | balance | int |
52
- | housing | yes/no |
53
- | loan | yes/no |
54
- | contact | str |
55
- | day | int |
56
- | month | str |
57
- | duration | int |
58
- | campaign | int |
59
- | pdays | int |
60
- | poutcome | str |
61
- | deposit | yes/no |
62
  """
63
 
64
  interface = gr.Interface(
 
41
 
42
  schema = """
43
  The schema of the table you can query on is presented below:
44
+ | Column | Type | Description|
45
+ |-----------|--------|------------|
46
+ | age | int |Age of the customer|
47
+ | job | str |type of job (categorical: "admin.","unknown","unemployed","management","housemaid","entrepreneur","student", "blue-collar","self-employed","retired","technician","services") |
48
+ | marital | str |marital status (categorical: "married","divorced","single"; note: "divorced" means divorced or widowed)|
49
+ | education | str |(categorical: "unknown","secondary","primary","tertiary")|
50
+ | default | yes/no |has credit in default? (binary: "yes","no")|
51
+ | balance | int |average yearly balance, in euros (numeric)|
52
+ | housing | yes/no |has housing loan? (binary: "yes","no")|
53
+ | loan | yes/no |has personal loan? (binary: "yes","no")|
54
+ | contact | str |last contact communication type (categorical: "unknown","telephone","cellular")|
55
+ | day | int |last contact day of the month (numeric)|
56
+ | month | str |last contact month of year (categorical: "jan", "feb", "mar", ..., "nov", "dec")|
57
+ | duration | int |last contact duration, in seconds (numeric)|
58
+ | campaign | int |number of contacts performed during this campaign and for this client (numeric, includes last contact)|
59
+ | pdays | int |number of days that passed by after the client was last contacted from a previous campaign (numeric, -1 means client was not previously contacted)|
60
+ | poutcome | str |outcome of the previous marketing campaign (categorical: "unknown","other","failure","success")|
61
+ | deposit | yes/no |has the client subscribed a term deposit? (binary: "yes","no")|
62
  """
63
 
64
  interface = gr.Interface(