Solab commited on
Commit
ed87b76
·
1 Parent(s): 996fa17
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import requests
7
  import hopsworks
8
  import joblib
9
 
10
- api_key = os.environ["HOPSAPI"]
11
  # Authenticate with Hopsworks using your API key
12
  hopsworks.credentials.Credentials(api_key=api_key)
13
 
 
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