ikoghoemmanuell
commited on
Commit
·
84c8b4b
1
Parent(s):
bef0e17
Update app.py
Browse files
app.py
CHANGED
@@ -37,10 +37,10 @@ data = load_data(rpath)
|
|
37 |
|
38 |
# Load the model and encoder ans scaler
|
39 |
model = pickle.load(open("model.pkl", "rb"))
|
40 |
-
|
41 |
-
|
42 |
-
encoder = BinaryEncoder(drop_invariant=False, return_df=True,)
|
43 |
-
scaler = StandardScaler().set_output(transform="pandas")
|
44 |
|
45 |
# main sections of the app
|
46 |
header = st.container()
|
|
|
37 |
|
38 |
# Load the model and encoder ans scaler
|
39 |
model = pickle.load(open("model.pkl", "rb"))
|
40 |
+
encoder = pickle.load(open("encoder.pkl", "rb"))
|
41 |
+
scaler = pickle.load(open("scaler.pkl", "rb"))
|
42 |
+
# encoder = BinaryEncoder(drop_invariant=False, return_df=True,)
|
43 |
+
# scaler = StandardScaler().set_output(transform="pandas")
|
44 |
|
45 |
# main sections of the app
|
46 |
header = st.container()
|