rehan953 commited on
Commit
ed040f2
·
verified ·
1 Parent(s): 4bc269f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2092,7 +2092,7 @@ def run_ocr(uploaded_file):
2092
  if not (hdr and hdr.strip()) and page_num < len(page_images):
2093
  hdr = ocr_zone(page_images[page_num], 0, he)
2094
  if hdr and hdr.strip():
2095
- parts.append(fix_account_number(normalize_money_glyphs(hdr.strip())))
2096
 
2097
  # Main OCR body: stabilize then patch missing duplicate rows from text layer
2098
  if page_md and page_md.strip():
 
2092
  if not (hdr and hdr.strip()) and page_num < len(page_images):
2093
  hdr = ocr_zone(page_images[page_num], 0, he)
2094
  if hdr and hdr.strip():
2095
+ parts.append(normalize_html_tables(fix_account_number(normalize_money_glyphs(hdr.strip()))))
2096
 
2097
  # Main OCR body: stabilize then patch missing duplicate rows from text layer
2098
  if page_md and page_md.strip():