Spaces:
Runtime error
Runtime error
SevenhuijsenM
commited on
Commit
·
7ad9eb4
1
Parent(s):
28fff52
Updated model
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ project = hopsworks.login()
|
|
16 |
fs = project.get_feature_store()
|
17 |
mr = project.get_model_registry()
|
18 |
|
19 |
-
model = mr.get_model("sthlm_incidents_model", version=
|
20 |
model_dir = model.download()
|
21 |
model = joblib.load(model_dir + "/sthlm_model.pkl")
|
22 |
print("Model downloaded")
|
|
|
16 |
fs = project.get_feature_store()
|
17 |
mr = project.get_model_registry()
|
18 |
|
19 |
+
model = mr.get_model("sthlm_incidents_model", version=4)
|
20 |
model_dir = model.download()
|
21 |
model = joblib.load(model_dir + "/sthlm_model.pkl")
|
22 |
print("Model downloaded")
|