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

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +1 -2
functions.py CHANGED
@@ -16,8 +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
- print(os.environ)
20
- api_key = os.getenv['OPENAI_API_KEY']
21
 
22
  return api_key
23
 
 
16
  with open(api_key_file, 'r') as file:
17
  api_key = json.load(file)['api_key']
18
  else:
19
+ api_key = os.environ['OPENAI_API_KEY']
 
20
 
21
  return api_key
22