rifqiakram commited on
Commit
4e46dbd
1 Parent(s): a92714f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ import pickle
3
  import pandas as pd
4
  import joblib
5
 
6
- loaded_model = pickle.load(open('D:/Agri Sparta Indonesia/Credit Score/Multiclass Project Score/deploy/trained_model.sav', 'rb'))
7
- preprocessor = joblib.load("D:/Agri Sparta Indonesia/Credit Score/Multiclass Project Score/deploy/preprocessor.pkl")
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