diff --git a/rag/app/qa.py b/rag/app/qa.py index 5339f579f1..d9166057a3 100644 --- a/rag/app/qa.py +++ b/rag/app/qa.py @@ -229,6 +229,8 @@ class Docx(DocxParser): if c.text == r.cells[j].text: span += 1 i = j + else: + break i += 1 html += f"{c.text}" if span == 1 else f"{c.text}" html += ""