Spaces:
Runtime error
Runtime error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -4,9 +4,9 @@ import pandas as pd
|
|
| 4 |
import pickle
|
| 5 |
|
| 6 |
# scaler = joblib.load('scaler.pkl')
|
| 7 |
-
with open('scaler.pkl', 'rb') as file:
|
| 8 |
scaler = pickle.load(file)
|
| 9 |
-
with open('credit_default.pkl', 'rb') as file:
|
| 10 |
model = pickle.load(file)
|
| 11 |
|
| 12 |
st.title('Prediksi Default Loan Customer')
|
|
|
|
| 4 |
import pickle
|
| 5 |
|
| 6 |
# scaler = joblib.load('scaler.pkl')
|
| 7 |
+
with open('src/scaler.pkl', 'rb') as file:
|
| 8 |
scaler = pickle.load(file)
|
| 9 |
+
with open('src/credit_default.pkl', 'rb') as file:
|
| 10 |
model = pickle.load(file)
|
| 11 |
|
| 12 |
st.title('Prediksi Default Loan Customer')
|