Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def main_func(Admission_Grade, Second_Sem_Grades, Previous_Qualification_Grade,
|
|
30 |
local_plot = plt.gcf()
|
31 |
plt.close()
|
32 |
|
33 |
-
return {"
|
34 |
|
35 |
# Create the UI
|
36 |
title = "**Student Graduation Predictor & Interpreter** πͺ"
|
|
|
30 |
local_plot = plt.gcf()
|
31 |
plt.close()
|
32 |
|
33 |
+
return {"Graduate": float(prob[0][0]), "Dropout": 1-float(prob[0][0])}, local_plot
|
34 |
|
35 |
# Create the UI
|
36 |
title = "**Student Graduation Predictor & Interpreter** πͺ"
|