Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,6 +22,7 @@ def predict(customerid: 0,
|
|
22 |
):
|
23 |
|
24 |
prediction_array = np.array([customerid, gender, married, dependents, education, self_employed, applicantincome, coapplicantincome, loanamount, loan_amount_term, credit_history, property_area])
|
|
|
25 |
verdict = clf.predict(prediction_array)
|
26 |
if verdict >= 0.5:
|
27 |
|
|
|
22 |
):
|
23 |
|
24 |
prediction_array = np.array([customerid, gender, married, dependents, education, self_employed, applicantincome, coapplicantincome, loanamount, loan_amount_term, credit_history, property_area])
|
25 |
+
|
26 |
verdict = clf.predict(prediction_array)
|
27 |
if verdict >= 0.5:
|
28 |
|