Mishmosh commited on
Commit
5aa34e5
·
1 Parent(s): a9728dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -254,7 +254,8 @@ def read_pdf(pdf_path):
254
  #pdf_path = 'test.pdf' #article 11
255
  #pdf_path = 'https://huggingface.co/spaces/Mishmosh/MichelleAssessment3/blob/main/test.pdf' #article 11
256
 
257
- text_per_page = read_pdf(received_pdf.pdf)
 
258
 
259
  # This section finds the abstract. My plan was to find the end of the abstract by identifying the same font size as the text 'abstract', but it was too late
260
  #to try this here since the formatting of the text has already been removed.
 
254
  #pdf_path = 'test.pdf' #article 11
255
  #pdf_path = 'https://huggingface.co/spaces/Mishmosh/MichelleAssessment3/blob/main/test.pdf' #article 11
256
 
257
+ #text_per_page = read_pdf(received_pdf.pdf)
258
+ text_per_page = read_pdf(pdf_content)
259
 
260
  # This section finds the abstract. My plan was to find the end of the abstract by identifying the same font size as the text 'abstract', but it was too late
261
  #to try this here since the formatting of the text has already been removed.