Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def main():
|
|
44 |
if clicked:
|
45 |
result=model.predict(pd.DataFrame({"gender": [gender],
|
46 |
"lunch": [lunch],
|
47 |
-
"education": [EDU_DICT[education]],
|
48 |
"math score": [math_score],
|
49 |
"reading score": [reading_score],
|
50 |
"writing score": [writing_score]}))
|
|
|
44 |
if clicked:
|
45 |
result=model.predict(pd.DataFrame({"gender": [gender],
|
46 |
"lunch": [lunch],
|
47 |
+
"parental level of education": [EDU_DICT[education]],
|
48 |
"math score": [math_score],
|
49 |
"reading score": [reading_score],
|
50 |
"writing score": [writing_score]}))
|