ArturG9 commited on
Commit
ac7d30d
1 Parent(s): 2258201

Update utills.py

Browse files
Files changed (1) hide show
  1. utills.py +1 -1
utills.py CHANGED
@@ -55,7 +55,7 @@ def load_txt_documents(data_path):
55
  return documents
56
 
57
 
58
- def split_docs(_documents, chunk_size, chunk_overlap):
59
  try:
60
  text_splitter = RecursiveCharacterTextSplitter.from_tiktoken_encoder(
61
  chunk_size=chunk_size, chunk_overlap=chunk_overlap,
 
55
  return documents
56
 
57
 
58
+ def split_docs(documents, chunk_size, chunk_overlap):
59
  try:
60
  text_splitter = RecursiveCharacterTextSplitter.from_tiktoken_encoder(
61
  chunk_size=chunk_size, chunk_overlap=chunk_overlap,