Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -14,7 +14,8 @@ predictive_maintenance_api = Flask("Predictive Maintenance API")
|
|
| 14 |
|
| 15 |
# Define the model path
|
| 16 |
# Use the correct path as defined in the notebook
|
| 17 |
-
MODEL_PATH = "backend_files/Predictive_Maintenance_XGB_Tuned_model_v1_0.joblib"
|
|
|
|
| 18 |
|
| 19 |
# Load the trained machine learning model
|
| 20 |
model = None
|
|
|
|
| 14 |
|
| 15 |
# Define the model path
|
| 16 |
# Use the correct path as defined in the notebook
|
| 17 |
+
#MODEL_PATH = "backend_files/Predictive_Maintenance_XGB_Tuned_model_v1_0.joblib"
|
| 18 |
+
MODEL_PATH = "Predictive_Maintenance_XGB_Tuned_model_v1_0.joblib" # Corrected path
|
| 19 |
|
| 20 |
# Load the trained machine learning model
|
| 21 |
model = None
|