Johan713 commited on
Commit
60b864d
·
verified ·
1 Parent(s): 0b7ab28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def predict_loan_approval(model, scaler, feature_names, input_data):
68
 
69
  adjusted_probability = max(probability, 0.3)
70
 
71
- adjusted_prediction = 'Y' if adjusted_probability >= 0.5 else 'N'
72
 
73
  return adjusted_prediction, adjusted_probability
74
 
 
68
 
69
  adjusted_probability = max(probability, 0.3)
70
 
71
+ adjusted_prediction = 'Y' if adjusted_probability >= 0.3 else 'N'
72
 
73
  return adjusted_prediction, adjusted_probability
74