mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-18 00:14:38 +00:00
fix | Chunk creation error when
title not the first element in HTML
This commit is contained in:
1 parent
6dd46c2966
commit
524e0f6f01
1 file changed
+1
-1
@@ -61,7 +61,7 @@ class HTMLParser(BaseParser):
|
||||
# Each Chunk can be thought of as an individual set of data, which can be sent to the model
|
||||
# Where Each Title is grouped together with the data under it
|
||||
|
||||
Chunks = list(list())
|
||||
Chunks = [[]]
|
||||
final_chunks = list(list())
|
||||
|
||||
for i,isd_el in enumerate(isd):
|
||||
|
||||
Reference in new issue
Block a user