Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -31,7 +31,7 @@ def split_data(docs):
|
|
31 |
length_function=len,
|
32 |
)
|
33 |
|
34 |
-
docs_chunks = text_splitter.split_documents(
|
35 |
return docs_chunks
|
36 |
|
37 |
# Function to create embeddings instance
|
|
|
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
|