Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ api = HfApi(token=os.getenv("HF_TOKEN"))
|
|
| 10 |
# Download and load the model from Hugging Face
|
| 11 |
model_path = hf_hub_download(
|
| 12 |
repo_id="adi333/engine-failure-prediction",
|
| 13 |
-
repo_type="model"
|
| 14 |
filename="best_engine_failure_prediction_model_v1.joblib"
|
| 15 |
)
|
| 16 |
model = joblib.load(model_path)
|
|
|
|
| 10 |
# Download and load the model from Hugging Face
|
| 11 |
model_path = hf_hub_download(
|
| 12 |
repo_id="adi333/engine-failure-prediction",
|
| 13 |
+
repo_type="model",
|
| 14 |
filename="best_engine_failure_prediction_model_v1.joblib"
|
| 15 |
)
|
| 16 |
model = joblib.load(model_path)
|