dinhquangson commited on
Commit
f226cd8
1 Parent(s): 4fac9ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -44,9 +44,9 @@ def get_pdf_pages(pdf_docs):
44
  with open(pdf_path, "wb") as f:
45
  f.write(pdf.getbuffer())
46
 
47
- pdf_loader = UnstructuredPDFLoader(pdf_path)
48
- pdf_pages = pdf_loader.load_and_split()
49
- pages=paegs+pdf_pages
50
  return pages
51
 
52
 
 
44
  with open(pdf_path, "wb") as f:
45
  f.write(pdf.getbuffer())
46
 
47
+ pdf_loader = UnstructuredPDFLoader(pdf_path)
48
+ pdf_pages = pdf_loader.load_and_split()
49
+ pages=paegs+pdf_pages
50
  return pages
51
 
52