Spaces:
Sleeping
Sleeping
fix build error
Browse files- src/few_shot_funcs.py +2 -0
src/few_shot_funcs.py
CHANGED
@@ -14,6 +14,8 @@ from langchain.vectorstores.utils import DistanceStrategy
|
|
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 |
|
|
|
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 |
+
# for build error
|
18 |
+
os.environ['CURL_CA_BUNDLE'] = ''
|
19 |
login(os.environ.get('HUB_KEY'))
|
20 |
|
21 |
|