satyam001 commited on
Commit
786f02b
1 Parent(s): f6eff85

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -31,7 +31,7 @@ def split_data(docs):
31
  length_function=len,
32
  )
33
 
34
- docs_chunks = text_splitter.split_documents(docs)
35
  return docs_chunks
36
 
37
  # Function to create embeddings instance
 
31
  length_function=len,
32
  )
33
 
34
+ docs_chunks = text_splitter.split_documents(f"{docs}")
35
  return docs_chunks
36
 
37
  # Function to create embeddings instance