Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,7 @@ feature_view = fs.get_feature_view(
|
|
25 |
# model_name="air_quality_model",
|
26 |
# evaluation_metric="f1_score",
|
27 |
# sort_metrics_by="max")
|
|
|
28 |
model = mr.get_model("air_quality_model",version = 3)
|
29 |
model_dir = model.download()
|
30 |
model = joblib.load(model_dir + "/model.pkl")
|
|
|
25 |
# model_name="air_quality_model",
|
26 |
# evaluation_metric="f1_score",
|
27 |
# sort_metrics_by="max")
|
28 |
+
mr = project.get_model_registry()
|
29 |
model = mr.get_model("air_quality_model",version = 3)
|
30 |
model_dir = model.download()
|
31 |
model = joblib.load(model_dir + "/model.pkl")
|