Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from huggingface_hub import hf_hub_download
|
|
| 4 |
import joblib
|
| 5 |
|
| 6 |
# Download and load the model
|
| 7 |
-
model_path = hf_hub_download(repo_id="JohnsonSAimlarge/engine-failure-
|
| 8 |
model = joblib.load(model_path)
|
| 9 |
|
| 10 |
# ------------------------------
|
|
|
|
| 4 |
import joblib
|
| 5 |
|
| 6 |
# Download and load the model
|
| 7 |
+
model_path = hf_hub_download(repo_id="JohnsonSAimlarge/engine-failure-predict", filename="engine_failure_model.joblib")
|
| 8 |
model = joblib.load(model_path)
|
| 9 |
|
| 10 |
# ------------------------------
|