Spaces:
Running
Running
Aymeric Roucher
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,7 @@ def chunk(text, words, splitter_selection):
|
|
21 |
Document(text),
|
22 |
split_length=words,
|
23 |
split_by="word",
|
|
|
24 |
split_respect_sentence_boundary=(
|
25 |
"respect sentence boundaries" in splitter_selection
|
26 |
),
|
|
|
21 |
Document(text),
|
22 |
split_length=words,
|
23 |
split_by="word",
|
24 |
+
split_overlap=0,
|
25 |
split_respect_sentence_boundary=(
|
26 |
"respect sentence boundaries" in splitter_selection
|
27 |
),
|