helloai0 commited on
Commit
f55b916
1 Parent(s): 8057ffe

Update metric.py

Browse files
Files changed (1) hide show
  1. metric.py +2 -2
metric.py CHANGED
@@ -1,9 +1,9 @@
1
  import os
2
  from openai import OpenAI
3
  if "OPENAI" in os.environ:
4
- pass
5
  else:
6
- print('Doesn\'t find OPENAI')
7
  client = OpenAI(api_key = os.environ['OPENAI'])
8
 
9
  import pandas as pd
 
1
  import os
2
  from openai import OpenAI
3
  if "OPENAI" in os.environ:
4
+ print('Loaded OPENAI Key.')
5
  else:
6
+ print('Can not load the OPENAI key.')
7
  client = OpenAI(api_key = os.environ['OPENAI'])
8
 
9
  import pandas as pd