Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import joblib
|
|
| 5 |
|
| 6 |
# Load the trained model
|
| 7 |
model = joblib.load("predictive_maintenance_model.pkl")
|
| 8 |
-
|
| 9 |
|
| 10 |
# Define the prediction function
|
| 11 |
def predict_maintenance(feature1, feature2, feature3, feature4,feature5,feature6,feature7,feature8,feature9,feature10):
|
|
|
|
| 5 |
|
| 6 |
# Load the trained model
|
| 7 |
model = joblib.load("predictive_maintenance_model.pkl")
|
| 8 |
+
|
| 9 |
|
| 10 |
# Define the prediction function
|
| 11 |
def predict_maintenance(feature1, feature2, feature3, feature4,feature5,feature6,feature7,feature8,feature9,feature10):
|