saifhmb
commited on
added indented block after 'with' statement on line 91 and subsequent lines
Browse files
app.py
CHANGED
@@ -89,27 +89,27 @@ def main():
|
|
89 |
st.markdown("To determine whether a customer is worth issuing a credit card or not, please **ENTER** the AGE INCOME, GENDER, MARITAL, NUMKIDS, NUMCARDS, HOWPAID, MORTGAGE, STORECAR, and LOANS:")
|
90 |
col1, col2, col3 = st.columns(3)
|
91 |
with col1:
|
92 |
-
|
93 |
with col2:
|
94 |
-
|
95 |
with col3:
|
96 |
-
|
97 |
|
98 |
col4, col5, col6 = st.columns(3)
|
99 |
with col4:
|
100 |
-
|
101 |
with col5:
|
102 |
-
|
103 |
with col6:
|
104 |
-
|
105 |
|
106 |
col7, col8, col9 =st.columns(3)
|
107 |
with col7:
|
108 |
-
|
109 |
with col8:
|
110 |
-
|
111 |
with col9:
|
112 |
-
|
113 |
|
114 |
LOANS = st.number_input("Number of outstanding loans")
|
115 |
result = ""
|
|
|
89 |
st.markdown("To determine whether a customer is worth issuing a credit card or not, please **ENTER** the AGE INCOME, GENDER, MARITAL, NUMKIDS, NUMCARDS, HOWPAID, MORTGAGE, STORECAR, and LOANS:")
|
90 |
col1, col2, col3 = st.columns(3)
|
91 |
with col1:
|
92 |
+
AGE = st.number_input("AGE")
|
93 |
with col2:
|
94 |
+
INCOME = st.number_input("INCOME")
|
95 |
with col3:
|
96 |
+
GENDER = st.text_input("GENDER (Please enter 'm' for male and 'f' for female)")
|
97 |
|
98 |
col4, col5, col6 = st.columns(3)
|
99 |
with col4:
|
100 |
+
MARITAL = st.text_input("MARITAL STATUS (Please enter one of the following options: 'single', 'married', or 'divsepwid')")
|
101 |
with col5:
|
102 |
+
NUMKIDS = st.number_input("Number of dependent children")
|
103 |
with col6:
|
104 |
+
NUMCARDS = st.number_input("Number of credit cards excluding store credit cards")
|
105 |
|
106 |
col7, col8, col9 =st.columns(3)
|
107 |
with col7:
|
108 |
+
HOWPAID = st.text_input("How often is customer paid by employer (weekly or monthly)")
|
109 |
with col8:
|
110 |
+
MORTGAGE = st.text_input("Does customer have a mortgage? please enter 'y' for yes or 'n' for no")
|
111 |
with col9:
|
112 |
+
STORECAR = st.number_input("Number of store credit cards")
|
113 |
|
114 |
LOANS = st.number_input("Number of outstanding loans")
|
115 |
result = ""
|