Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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):
|