Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
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 |
|