Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,8 @@ def tiktoken_len(text):
|
|
34 |
return len(tokens)
|
35 |
|
36 |
text_splitter = RecursiveCharacterTextSplitter(
|
37 |
-
chunk_size=
|
38 |
-
chunk_overlap=
|
39 |
length_function=tiktoken_len,
|
40 |
separators=["\n\n", "\n", " ", ""]
|
41 |
)
|
|
|
34 |
return len(tokens)
|
35 |
|
36 |
text_splitter = RecursiveCharacterTextSplitter(
|
37 |
+
chunk_size=700,
|
38 |
+
chunk_overlap=350,
|
39 |
length_function=tiktoken_len,
|
40 |
separators=["\n\n", "\n", " ", ""]
|
41 |
)
|