Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ makable_model = load(r'.\Model\linear_regression_model_makable_price.joblib')
|
|
24 |
encoder_list = ['Tag', 'EngShp', 'EngQua', 'EngCol', 'EngCut', 'EngPol', 'EngSym', 'EngFlo', 'EngNts', 'EngMikly', 'EngLab']
|
25 |
loaded_label_encoder = {}
|
26 |
for val in encoder_list:
|
27 |
-
encoder_path = f"
|
28 |
loaded_label_encoder[val] = load(encoder_path)
|
29 |
|
30 |
@app.route('/', methods=['GET'])
|
|
|
24 |
encoder_list = ['Tag', 'EngShp', 'EngQua', 'EngCol', 'EngCut', 'EngPol', 'EngSym', 'EngFlo', 'EngNts', 'EngMikly', 'EngLab']
|
25 |
loaded_label_encoder = {}
|
26 |
for val in encoder_list:
|
27 |
+
encoder_path = f".\Label_encoders\label_encoder_{val}.joblib"
|
28 |
loaded_label_encoder[val] = load(encoder_path)
|
29 |
|
30 |
@app.route('/', methods=['GET'])
|