Qinglinz commited on
Commit
45450a9
1 Parent(s): ce2d366

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import joblib
9
  project = hopsworks.login()
10
  fs = project.get_feature_store()
11
 
12
- mr = project.get_model_registry(project="qinglinz")
13
  model = mr.get_model("titanic_model", version=1)
14
  model_dir = model.download()
15
  model = joblib.load(model_dir + "/titanic_model.pkl")
 
9
  project = hopsworks.login()
10
  fs = project.get_feature_store()
11
 
12
+ mr = project.get_model_registry()
13
  model = mr.get_model("titanic_model", version=1)
14
  model_dir = model.download()
15
  model = joblib.load(model_dir + "/titanic_model.pkl")