Marthee commited on
Commit
2193168
·
verified ·
1 Parent(s): 7f4839d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def receive_pdf_data():
46
  # keyword = json.loads(keyword)
47
  print(pdfLink,keyword)
48
  global pdf_content
49
- pdf_content, pageNumTextFound,highlight_rect = Find_Hyperlinking_text.annotate_text_from_pdf([pdfLink], keyword)
50
 
51
  if pdf_content is None:
52
  return jsonify({"error": "No valid PDF content found."}), 404
 
46
  # keyword = json.loads(keyword)
47
  print(pdfLink,keyword)
48
  global pdf_content
49
+ pdf_content, pageNumTextFound,highlight_rect = Find_Hyperlinking_text.annotate_text_from_pdf([pdfLink], [keyword])
50
 
51
  if pdf_content is None:
52
  return jsonify({"error": "No valid PDF content found."}), 404