Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,8 @@ from langchain.vectorstores import FAISS
|
|
8 |
from langchain.chat_models import chatOpenAI
|
9 |
from PyPDF import PdfReader
|
10 |
|
|
|
|
|
11 |
#Function to load and process the PDF document
|
12 |
def load_pdf(file):
|
13 |
#Load the PDF usign Langchain's PyPDFLoader
|
|
|
8 |
from langchain.chat_models import chatOpenAI
|
9 |
from PyPDF import PdfReader
|
10 |
|
11 |
+
|
12 |
+
|
13 |
#Function to load and process the PDF document
|
14 |
def load_pdf(file):
|
15 |
#Load the PDF usign Langchain's PyPDFLoader
|