MrDdz commited on
Commit
c3d0a91
1 Parent(s): f459d7d

update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -7,11 +7,11 @@ import joblib
7
  from PIL import Image
8
 
9
  #using joblib to load the model:
10
- num_imputer = joblib.load('assets\\num_imputer.joblib') # loading the imputer
11
- cat_imputer = joblib.load('assets\\cat_imputer.joblib') # loading the imputer
12
- encoder = joblib.load('assets\\encoder.joblib') # loading the encoder
13
- scaler = joblib.load('assets\\scaler.joblib') # loading the scaler
14
- model = joblib.load('assets\\ml.joblib') # loading the model
15
 
16
 
17
  # Create a function that applies the ML pipeline and makes predictions
 
7
  from PIL import Image
8
 
9
  #using joblib to load the model:
10
+ num_imputer = joblib.load('num_imputer.joblib') # loading the imputer
11
+ cat_imputer = joblib.load('cat_imputer.joblib') # loading the imputer
12
+ encoder = joblib.load('encoder.joblib') # loading the encoder
13
+ scaler = joblib.load('scaler.joblib') # loading the scaler
14
+ model = joblib.load('ml.joblib') # loading the model
15
 
16
 
17
  # Create a function that applies the ML pipeline and makes predictions