Spaces:
Runtime error
Runtime error
Update InitialMarkups.py
Browse files- InitialMarkups.py +1 -1
InitialMarkups.py
CHANGED
|
@@ -1036,7 +1036,7 @@ def extract_section_under_header(pdf_path):
|
|
| 1036 |
dbPath = '/TSA JOBS/ADR Test/FIND/'
|
| 1037 |
pdf_bytes = BytesIO()
|
| 1038 |
docHighlights.save(pdf_bytes)
|
| 1039 |
-
pdflink = tsadropboxretrieval.uploadanyFile(doc=
|
| 1040 |
json_output=changepdflinks(json_output,pdflink)
|
| 1041 |
return pdf_bytes.getvalue(), docHighlights , json_output
|
| 1042 |
|
|
|
|
| 1036 |
dbPath = '/TSA JOBS/ADR Test/FIND/'
|
| 1037 |
pdf_bytes = BytesIO()
|
| 1038 |
docHighlights.save(pdf_bytes)
|
| 1039 |
+
pdflink = tsadropboxretrieval.uploadanyFile(doc=docHighlights, path=dbPath, pdfname=filename)
|
| 1040 |
json_output=changepdflinks(json_output,pdflink)
|
| 1041 |
return pdf_bytes.getvalue(), docHighlights , json_output
|
| 1042 |
|