Marthee commited on
Commit
a8aaf4b
·
verified ·
1 Parent(s): 5054b9b

Update findspecsv1.py

Browse files
Files changed (1) hide show
  1. findspecsv1.py +3 -3
findspecsv1.py CHANGED
@@ -565,7 +565,7 @@ def extract_section_under_header(pdf_path, target_header_LIST):
565
 
566
  # Convert list to JSON
567
  print('heree')
568
- json_output = json.dumps(data_list_JSON, indent=4)
569
 
570
  # return result_text
571
 
@@ -600,9 +600,9 @@ def extract_section_under_header(pdf_path, target_header_LIST):
600
  pdf_bytes = BytesIO()
601
  doc.save(pdf_bytes)
602
  print('aa')
603
- print('JSONN',json_output)
604
 
605
- return pdf_bytes.getvalue(), doc , df, json_output
606
 
607
 
608
 
 
565
 
566
  # Convert list to JSON
567
  print('heree')
568
+ # json_output = json.dumps(data_list_JSON, indent=4)
569
 
570
  # return result_text
571
 
 
600
  pdf_bytes = BytesIO()
601
  doc.save(pdf_bytes)
602
  print('aa')
603
+ print('JSONN',data_list_JSON)
604
 
605
+ return pdf_bytes.getvalue(), doc , df, data_list_JSON
606
 
607
 
608