Spaces:
Runtime error
Runtime error
Update InitialMarkups.py
Browse files- InitialMarkups.py +1 -0
InitialMarkups.py
CHANGED
|
@@ -820,6 +820,7 @@ def extract_section_under_header(multiplePDF_Paths):
|
|
| 820 |
# if combined_line_norm and combined_line_norm in paths[-2]:
|
| 821 |
|
| 822 |
# headertoContinue2 = combined_line_norm
|
|
|
|
| 823 |
if 'installation' in paths[-2].lower() or 'execution' in paths[-2].lower() or 'miscellaneous items' in paths[-2].lower() :
|
| 824 |
stringtowrite='Not to be billed'
|
| 825 |
else:
|
|
|
|
| 820 |
# if combined_line_norm and combined_line_norm in paths[-2]:
|
| 821 |
|
| 822 |
# headertoContinue2 = combined_line_norm
|
| 823 |
+
print('paths[-2].lower()',paths[-2].lower())
|
| 824 |
if 'installation' in paths[-2].lower() or 'execution' in paths[-2].lower() or 'miscellaneous items' in paths[-2].lower() :
|
| 825 |
stringtowrite='Not to be billed'
|
| 826 |
else:
|