Marthee commited on
Commit
a852e6b
·
verified ·
1 Parent(s): 6b190d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -45,8 +45,7 @@ def download_pdf():
45
  print("Extracted Keywords:", keyword)
46
  createDF=False
47
  outputDone = Find_Hyperlinking_text.annotate_text_from_pdf([pdf_link], keyword)[0]
48
- if pdf_content is None:
49
- return "PDF content not found.", 404
50
 
51
  pdf_bytes = BytesIO(pdf_content)
52
  return send_file(
 
45
  print("Extracted Keywords:", keyword)
46
  createDF=False
47
  outputDone = Find_Hyperlinking_text.annotate_text_from_pdf([pdf_link], keyword)[0]
48
+
 
49
 
50
  pdf_bytes = BytesIO(pdf_content)
51
  return send_file(