lauraparra28 commited on
Commit
372e08d
·
verified ·
1 Parent(s): 7017d67

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +1 -0
functions.py CHANGED
@@ -16,6 +16,7 @@ def load_api_key():
16
  with open(api_key_file, 'r') as file:
17
  api_key = json.load(file)['api_key']
18
  else:
 
19
  api_key = os.getenv['OPENAI_API_KEY']
20
 
21
  return api_key
 
16
  with open(api_key_file, 'r') as file:
17
  api_key = json.load(file)['api_key']
18
  else:
19
+ print(os.environ)
20
  api_key = os.getenv['OPENAI_API_KEY']
21
 
22
  return api_key