Spaces:
Runtime error
Runtime error
reducing the chunk size and chunk overlap
Browse files
app.py
CHANGED
@@ -48,8 +48,8 @@ print("################################################################")
|
|
48 |
def get_chunks(text):
|
49 |
text_splitter = RecursiveCharacterTextSplitter(
|
50 |
# seperator = "\n",
|
51 |
-
chunk_size =
|
52 |
-
chunk_overlap =
|
53 |
length_function = len,
|
54 |
)
|
55 |
|
|
|
48 |
def get_chunks(text):
|
49 |
text_splitter = RecursiveCharacterTextSplitter(
|
50 |
# seperator = "\n",
|
51 |
+
chunk_size = 250,
|
52 |
+
chunk_overlap = 50,
|
53 |
length_function = len,
|
54 |
)
|
55 |
|