frnka commited on
Commit
9d42704
1 Parent(s): 5350ad8

changing model name

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,9 +12,9 @@ project = hopsworks.login()
12
  fs = project.get_feature_store()
13
 
14
  mr = project.get_model_registry()
15
- model = mr.get_model("titanic", version=2)
16
  model_dir = model.download()
17
- model = joblib.load(model_dir + "/titanic_model.pkl")
18
 
19
 
20
  def get_deck(cabin):
 
12
  fs = project.get_feature_store()
13
 
14
  mr = project.get_model_registry()
15
+ model = mr.get_model("titanic_new", version=1)
16
  model_dir = model.download()
17
+ model = joblib.load(model_dir + "/titanic_new_model.pkl")
18
 
19
 
20
  def get_deck(cabin):