Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ import joblib
|
|
9 |
project = hopsworks.login()
|
10 |
fs = project.get_feature_store()
|
11 |
|
12 |
-
mr = project.get_model_registry()
|
13 |
-
model = mr.get_model("
|
14 |
model_dir = model.download()
|
15 |
model = joblib.load(model_dir + "/titanic_model.pkl")
|
16 |
|
|
|
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")
|
16 |
|