AlbertoFH98 commited on
Commit
6a83868
1 Parent(s): d1707ec

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -2
utils.py CHANGED
@@ -345,8 +345,8 @@ Resumen:"""
345
  length_function = len,
346
  is_separator_regex = True,
347
  )
348
- split_docs = text_splitter.create_documents([docs])
349
-
350
 
351
  return doc_summary
352
 
 
345
  length_function = len,
346
  is_separator_regex = True,
347
  )
348
+ split_docs = text_splitter.create_documents([docs])
349
+ doc_summary = map_reduce_chain.run(split_docs)
350
 
351
  return doc_summary
352