Marthee commited on
Commit
d0b9747
·
verified ·
1 Parent(s): c9e58d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,9 +56,9 @@ def download_pdf():
56
  # return "Failed to download the PDF.", 500
57
  pdflink='https://www.dropbox.com/scl/fi/fjykwhhn9gu9t3kqrflxd/LA002-NOR-ZZ-ZZ-T-A-2403_Architectural-Specification-F10-Brick-and-Block-Walling_A4-_C01.pdf?rlkey=ek9i66i79m0hwp8z5yjs6rp5p&st=jh05a6qs&dl=0'
58
  keyword='To be read with preliminaries/ general conditions'
59
- pdf_document, pageNumTextFound =highlight_text_from_pdf(pdflink , keyword)
60
- getInfotoMeasure(pagenum)
61
  pdf_content, page_num = highlight_text_from_pdf(pdf_link, keyword)
 
62
  pdf_content = BytesIO(response.content)
63
 
64
  return send_file(
 
56
  # return "Failed to download the PDF.", 500
57
  pdflink='https://www.dropbox.com/scl/fi/fjykwhhn9gu9t3kqrflxd/LA002-NOR-ZZ-ZZ-T-A-2403_Architectural-Specification-F10-Brick-and-Block-Walling_A4-_C01.pdf?rlkey=ek9i66i79m0hwp8z5yjs6rp5p&st=jh05a6qs&dl=0'
58
  keyword='To be read with preliminaries/ general conditions'
59
+
 
60
  pdf_content, page_num = highlight_text_from_pdf(pdf_link, keyword)
61
+ getInfotoMeasure(pageNumTextFound)
62
  pdf_content = BytesIO(response.content)
63
 
64
  return send_file(