mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-01-14 00:39:51 +00:00
fix
This commit is contained in:
parent
0314cb99e3
commit
a7d33307d2
@ -573,7 +573,7 @@ class TasksLibrary:
|
|||||||
hasher = hashlib.md5()
|
hasher = hashlib.md5()
|
||||||
hasher.update(text.encode("utf8"))
|
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(
|
text = self.summarize_chunks(
|
||||||
document_chunks,
|
document_chunks,
|
||||||
summary_instruction,
|
summary_instruction,
|
||||||
|
Loading…
Reference in New Issue
Block a user