Marthee commited on
Commit
42a945d
·
verified ·
1 Parent(s): 02af7c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def receive_pdf_data():
62
  # keyword = json.loads(keyword)
63
  print(pdfLink,keyword)
64
  global pdf_content
65
- pdf_content, pageNumTextFound,highlight_rect = Find_Hyperlinking_text.annotate_text_from_pdf([pdfLink], [keyword])
66
 
67
  if pdf_content is None:
68
  return jsonify({"error": "No valid PDF content found."}), 404
 
62
  # keyword = json.loads(keyword)
63
  print(pdfLink,keyword)
64
  global pdf_content
65
+ pdf_content, pageNumTextFound,highlight_rect = Find_Hyperlinking_text.annotate_text_from_pdf([pdfLink], keyword)
66
 
67
  if pdf_content is None:
68
  return jsonify({"error": "No valid PDF content found."}), 404