Spaces:
Runtime error
Runtime error
Victorlopo21
commited on
Commit
•
0898e74
1
Parent(s):
cdb4562
Update app.py
Browse files
app.py
CHANGED
@@ -11,9 +11,9 @@ fs = project.get_feature_store()
|
|
11 |
|
12 |
|
13 |
mr = project.get_model_registry()
|
14 |
-
model = mr.get_model("
|
15 |
model_dir = model.download()
|
16 |
-
model = joblib.load(model_dir + "/
|
17 |
|
18 |
|
19 |
def passenger(pclass, sex, family, groupedage):
|
|
|
11 |
|
12 |
|
13 |
mr = project.get_model_registry()
|
14 |
+
model = mr.get_model("titanic_modal", version=1)
|
15 |
model_dir = model.download()
|
16 |
+
model = joblib.load(model_dir + "/titanic_model.pkl")
|
17 |
|
18 |
|
19 |
def passenger(pclass, sex, family, groupedage):
|