Solab commited on
Commit
e9a8994
·
1 Parent(s): ed87b76
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -8,13 +8,7 @@ import hopsworks
8
  import joblib
9
 
10
  api_key = os.environ.get("HOPSAPI")
11
- # Authenticate with Hopsworks using your API key
12
- hopsworks.credentials.Credentials(api_key=api_key)
13
-
14
- # Use the Hopsworks API to login to the project
15
- project = hopsworks.project.connect()
16
-
17
- #project = hopsworks.login()
18
  fs = project.get_feature_store()
19
 
20
 
 
8
  import joblib
9
 
10
  api_key = os.environ.get("HOPSAPI")
11
+ project = hopsworks.login(api_key)
 
 
 
 
 
 
12
  fs = project.get_feature_store()
13
 
14