Spaces:
Sleeping
Sleeping
update env vars
Browse files- src/few_shot_funcs.py +2 -1
src/few_shot_funcs.py
CHANGED
@@ -12,7 +12,8 @@ from langchain.vectorstores.utils import DistanceStrategy
|
|
12 |
|
13 |
|
14 |
# Get OpenAI and huggingface-hub keys
|
15 |
-
openai.api_key = os.environ.get('
|
|
|
16 |
login(os.environ.get('HUB_KEY'))
|
17 |
|
18 |
|
|
|
12 |
|
13 |
|
14 |
# Get OpenAI and huggingface-hub keys
|
15 |
+
openai.api_key = os.environ.get('OPENAI_API_KEY')
|
16 |
+
openai.organization = os.environ.get('OPENAI_ORG')
|
17 |
login(os.environ.get('HUB_KEY'))
|
18 |
|
19 |
|