cHz commited on
Commit
88e14ed
·
1 Parent(s): 01eaf33

fix: Misspelled Variable Name (#1662)

Browse files

### What problem does this PR solve?


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

Files changed (1) hide show
  1. rag/app/qa.py +1 -1
rag/app/qa.py CHANGED
@@ -119,7 +119,7 @@ class Pdf(PdfParser):
119
  if not has_bull: # No question bullet
120
  if not last_q:
121
  if tbl_pn < line_pn or (tbl_pn == line_pn and tbl_top <= line_top): # image passed
122
- tbls_index += 1
123
  continue
124
  else:
125
  sum_tag = line_tag
 
119
  if not has_bull: # No question bullet
120
  if not last_q:
121
  if tbl_pn < line_pn or (tbl_pn == line_pn and tbl_top <= line_top): # image passed
122
+ tbl_index += 1
123
  continue
124
  else:
125
  sum_tag = line_tag