Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def predict(index_name="^OMX"):
|
|
12 |
# Load the model
|
13 |
project = hopsworks.login(api_key_value="pwWjyzF8SYsYJGQp.uZRknwAGCDPMe2covG1e4uVY4LsJXhAyKYgUNADOGY3H67mRAzoBtEJGlskTWE8h")
|
14 |
mr = project.get_model_registry()
|
15 |
-
model = mr.get_model("FinanceModel", version=
|
16 |
saved_model_dir = model.download()
|
17 |
model = load_model(saved_model_dir + "/model.keras")
|
18 |
|
|
|
12 |
# Load the model
|
13 |
project = hopsworks.login(api_key_value="pwWjyzF8SYsYJGQp.uZRknwAGCDPMe2covG1e4uVY4LsJXhAyKYgUNADOGY3H67mRAzoBtEJGlskTWE8h")
|
14 |
mr = project.get_model_registry()
|
15 |
+
model = mr.get_model("FinanceModel", version=10)
|
16 |
saved_model_dir = model.download()
|
17 |
model = load_model(saved_model_dir + "/model.keras")
|
18 |
|