Snigs98 commited on
Commit
e2de117
·
verified ·
1 Parent(s): db3e775

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -5,6 +5,7 @@ import joblib
5
 
6
  # Load the trained model
7
  model = joblib.load("predictive_maintenance_model.pkl")
 
8
 
9
  # Define the prediction function
10
  def predict_maintenance(feature1, feature2, feature3, feature4):
 
5
 
6
  # Load the trained model
7
  model = joblib.load("predictive_maintenance_model.pkl")
8
+ model = joblib.load(model_path)
9
 
10
  # Define the prediction function
11
  def predict_maintenance(feature1, feature2, feature3, feature4):