halme commited on
Commit
afbe334
·
verified ·
1 Parent(s): ae1daed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=9)
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