Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -129,8 +129,8 @@ def findapitobebilled():
|
|
| 129 |
# Extracting values
|
| 130 |
pdfLink = data.get('filePath')
|
| 131 |
pdfbytes, pdf_document,tablepdfoutput= InitialMarkups.extract_section_under_header_tobebilledOnly(pdfLink)
|
| 132 |
-
global jsonoutput
|
| 133 |
-
jsonoutput=tablepdfoutput
|
| 134 |
return jsonify(tablepdfoutput)
|
| 135 |
except Exception as e:
|
| 136 |
return jsonify({"error": str(e)}), 500
|
|
|
|
| 129 |
# Extracting values
|
| 130 |
pdfLink = data.get('filePath')
|
| 131 |
pdfbytes, pdf_document,tablepdfoutput= InitialMarkups.extract_section_under_header_tobebilledOnly(pdfLink)
|
| 132 |
+
# global jsonoutput
|
| 133 |
+
# jsonoutput=tablepdfoutput
|
| 134 |
return jsonify(tablepdfoutput)
|
| 135 |
except Exception as e:
|
| 136 |
return jsonify({"error": str(e)}), 500
|