mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-23 06:22:27 +00:00
fix
This commit is contained in:
parent
0314cb99e3
commit
a7d33307d2
@ -573,7 +573,7 @@ class TasksLibrary:
|
||||
hasher = hashlib.md5()
|
||||
hasher.update(text.encode("utf8"))
|
||||
|
||||
document_chunks = tc.get_text_chunks(text, Document(hasher.hexdigest(), doc_name ) )
|
||||
document_chunks = tc.get_text_chunks(text, Document(hasher.hexdigest(), doc_name, doc_name ) )
|
||||
text = self.summarize_chunks(
|
||||
document_chunks,
|
||||
summary_instruction,
|
||||
|
Loading…
Reference in New Issue
Block a user