Mary12 commited on
Commit
8d65670
·
1 Parent(s): d460d4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def remove_references(text):
19
  def extract_text_from_pdf(file_path):
20
  reader = PdfReader(file_path)
21
  text = ""
22
- for page in reader.pages:
23
  text += page.extract_text() + "\n"
24
 
25
  return text
 
19
  def extract_text_from_pdf(file_path):
20
  reader = PdfReader(file_path)
21
  text = ""
22
+ for page in reader.pages[2:]:
23
  text += page.extract_text() + "\n"
24
 
25
  return text