Hemg commited on
Commit
c24a0c7
·
verified ·
1 Parent(s): 022e4e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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)}"