Spaces:
Runtime error
Runtime error
Update findspecsv1.py
Browse files- 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',
|
| 604 |
|
| 605 |
-
return pdf_bytes.getvalue(), doc , df,
|
| 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 |
|