Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,9 @@ def predict_performance(Location, College_Fee, College, GPA, Year, Course_Intere
|
|
61 |
else:
|
62 |
confidence_level = "Lower chance of admission"
|
63 |
|
64 |
-
return confidence_level
|
|
|
|
|
65 |
|
66 |
except Exception as e:
|
67 |
return f"Error in prediction: {str(e)}"
|
|
|
61 |
else:
|
62 |
confidence_level = "Lower chance of admission"
|
63 |
|
64 |
+
#return confidence_level
|
65 |
+
|
66 |
+
return f"Admission Probability: {prediction_percentage:.1f}%\n{confidence_level}"
|
67 |
|
68 |
except Exception as e:
|
69 |
return f"Error in prediction: {str(e)}"
|