Spaces:
Runtime error
Runtime error
Paperboxiv
commited on
Commit
·
1a1dbc3
1
Parent(s):
30d0a35
更改文本块大小
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def doc_split(file):
|
|
38 |
#分解文本
|
39 |
text_splitter = CharacterTextSplitter(
|
40 |
separator = "\n",
|
41 |
-
chunk_size =
|
42 |
chunk_overlap = 100,
|
43 |
length_function = len,
|
44 |
)
|
|
|
38 |
#分解文本
|
39 |
text_splitter = CharacterTextSplitter(
|
40 |
separator = "\n",
|
41 |
+
chunk_size = 1000,
|
42 |
chunk_overlap = 100,
|
43 |
length_function = len,
|
44 |
)
|