Spaces:
Sleeping
Sleeping
Siddartha10
commited on
Commit
•
52fe83a
1
Parent(s):
a6e123c
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from langchain_openai import OpenAIEmbeddings, ChatOpenAI
|
|
7 |
from langchain_core.prompts import PromptTemplate
|
8 |
from langchain.chains import RetrievalQA
|
9 |
from ragatouille import RAGPretrainedModel
|
10 |
-
from
|
11 |
|
12 |
RAG = RAGPretrainedModel.from_pretrained("colbert-ir/colbertv2.0")
|
13 |
|
|
|
7 |
from langchain_core.prompts import PromptTemplate
|
8 |
from langchain.chains import RetrievalQA
|
9 |
from ragatouille import RAGPretrainedModel
|
10 |
+
from langchain_community.document_loaders import PyPDFLoader
|
11 |
|
12 |
RAG = RAGPretrainedModel.from_pretrained("colbert-ir/colbertv2.0")
|
13 |
|