Marthee commited on
Commit
1acbed5
·
verified ·
1 Parent(s): ebfd3af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,8 +42,8 @@ def receive_pdf_data():
42
  return jsonify({"error": "Both 'pdfLink' and 'keyword' must be provided."}), 400
43
 
44
  try:
45
- # Call the function to process the PDF
46
- keyword = json.loads(keyword)
47
 
48
  global pdf_content
49
  pdf_content, pageNumTextFound,highlight_rect = Find_Hyperlinking_text.annotate_text_from_pdf([pdfLink], keyword)
 
42
  return jsonify({"error": "Both 'pdfLink' and 'keyword' must be provided."}), 400
43
 
44
  try:
45
+ # # Call the function to process the PDF
46
+ # keyword = json.loads(keyword)
47
 
48
  global pdf_content
49
  pdf_content, pageNumTextFound,highlight_rect = Find_Hyperlinking_text.annotate_text_from_pdf([pdfLink], keyword)