Spaces:
Runtime error
Runtime error
update chunk size to 4000
Browse files- __pycache__/app.cpython-310.pyc +0 -0
- app.py +1 -1
__pycache__/app.cpython-310.pyc
ADDED
Binary file (6.13 kB). View file
|
|
app.py
CHANGED
@@ -116,7 +116,7 @@ def get_response(text):
|
|
116 |
# split into chunks
|
117 |
text_splitter = CharacterTextSplitter(
|
118 |
separator="\n",
|
119 |
-
chunk_size=
|
120 |
chunk_overlap=200,
|
121 |
length_function=len
|
122 |
)
|
|
|
116 |
# split into chunks
|
117 |
text_splitter = CharacterTextSplitter(
|
118 |
separator="\n",
|
119 |
+
chunk_size=4000,
|
120 |
chunk_overlap=200,
|
121 |
length_function=len
|
122 |
)
|