Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ from langchain.memory import ConversationBufferMemory
|
|
9 |
from langchain.chains import ConversationalRetrievalChain
|
10 |
from htmlTemplates import css, bot_template, user_template
|
11 |
from langchain.llms import HuggingFaceHub
|
|
|
12 |
|
13 |
def get_pdf_text(pdf_docs):
|
14 |
text = ""
|
|
|
9 |
from langchain.chains import ConversationalRetrievalChain
|
10 |
from htmlTemplates import css, bot_template, user_template
|
11 |
from langchain.llms import HuggingFaceHub
|
12 |
+
from langchain_community.embeddings import OpenAIEmbeddings
|
13 |
|
14 |
def get_pdf_text(pdf_docs):
|
15 |
text = ""
|