WebashalarForML commited on
Commit
b91fe21
·
verified ·
1 Parent(s): 95574f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"H:/DEV PATEL/2025/AI_In_Diamond_Industry/Label_encoders/label_encoder_{val}.joblib"
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'])