rifqiakram
commited on
Commit
•
4e46dbd
1
Parent(s):
a92714f
Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,8 @@ import pickle
|
|
3 |
import pandas as pd
|
4 |
import joblib
|
5 |
|
6 |
-
loaded_model = pickle.load(open('
|
7 |
-
preprocessor = joblib.load("
|
8 |
|
9 |
def obj_to_int(data):
|
10 |
# Mengganti nilai pada kolom planting_period
|
|
|
3 |
import pandas as pd
|
4 |
import joblib
|
5 |
|
6 |
+
loaded_model = pickle.load(open('trained_model.sav', 'rb'))
|
7 |
+
preprocessor = joblib.load("preprocessor.pkl")
|
8 |
|
9 |
def obj_to_int(data):
|
10 |
# Mengganti nilai pada kolom planting_period
|