fix | Chunk creation error when

title not the first element in HTML
This commit is contained in:
Manan
2023-02-22 20:20:54 +05:30
parent 6dd46c2966
commit 524e0f6f01

View File

@@ -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):