mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix page content is empty
This commit is contained in:
parent
fbbba6db92
commit
53269506bf
|
@ -48,6 +48,7 @@ class ParagraphIndexProcessor(BaseIndexProcessor):
|
|||
page_content = page_content[1:]
|
||||
else:
|
||||
page_content = page_content
|
||||
if page_content:
|
||||
document_node.page_content = page_content
|
||||
split_documents.append(document_node)
|
||||
all_documents.extend(split_documents)
|
||||
|
|
Loading…
Reference in New Issue
Block a user