kk90ujhun commited on
Commit
15da885
·
1 Parent(s): efbc8c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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")