Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from langchain.embeddings import OpenAIEmbeddings
|
|
5 |
from langchain.vectorstores import Chroma
|
6 |
from langchain.chains import RetrievalQA
|
7 |
|
8 |
-
pip install langchain-community
|
9 |
|
10 |
def generate_response(uploaded_file, openai_api_key, query_text):
|
11 |
# Load document if file is uploaded
|
|
|
5 |
from langchain.vectorstores import Chroma
|
6 |
from langchain.chains import RetrievalQA
|
7 |
|
8 |
+
pip install langchain-community --trusted-host mirrors.cloud.tencent.com
|
9 |
|
10 |
def generate_response(uploaded_file, openai_api_key, query_text):
|
11 |
# Load document if file is uploaded
|