Update metric.py
Browse files
metric.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import os
|
2 |
from openai import OpenAI
|
3 |
if "OPENAI" in os.environ:
|
4 |
-
|
5 |
else:
|
6 |
-
print('
|
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
|