Aymeric Roucher commited on
Commit
585520b
·
verified ·
1 Parent(s): 3de982e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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
  ),