Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -70,9 +70,9 @@ input_data[num_features] = scaler.transform(input_data[num_features])
|
|
70 |
# Add the additional feature (not part of scaling)
|
71 |
input_data['loan_amnt_by_income'] = [loan_amnt_by_income]
|
72 |
|
73 |
-
|
74 |
-
input_data['cibil_score'] = cibil_score
|
75 |
-
input_data = input_data[num_features + ['loan_amnt_by_income']]
|
76 |
|
77 |
# Predict using the model
|
78 |
if st.button('Predict'):
|
|
|
70 |
# Add the additional feature (not part of scaling)
|
71 |
input_data['loan_amnt_by_income'] = [loan_amnt_by_income]
|
72 |
|
73 |
+
|
74 |
+
input_data['cibil_score'] = cibil_score
|
75 |
+
input_data = input_data[num_features + ['loan_amnt_by_income']]
|
76 |
|
77 |
# Predict using the model
|
78 |
if st.button('Predict'):
|