update hub version
Browse files- requirements.txt +1 -3
- src/few_shot_funcs.py +0 -2
requirements.txt
CHANGED
@@ -4,6 +4,4 @@ openai==0.27.7
|
|
4 |
pandas==1.5.3
|
5 |
langchain==0.0.327
|
6 |
faiss-cpu==1.7.4
|
7 |
-
tiktoken==0.5.1
|
8 |
-
huggingface-hub==0.16.4
|
9 |
-
requests==2.27.1
|
|
|
4 |
pandas==1.5.3
|
5 |
langchain==0.0.327
|
6 |
faiss-cpu==1.7.4
|
7 |
+
tiktoken==0.5.1
|
|
|
|
src/few_shot_funcs.py
CHANGED
@@ -14,8 +14,6 @@ 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 |
-
# for build error
|
18 |
-
# os.environ['CURL_CA_BUNDLE'] = ''
|
19 |
login(os.environ.get('HUB_KEY'))
|
20 |
|
21 |
|
|
|
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 |
|