Skip to content
Snippets Groups Projects
Unverified Commit 4f658281 authored by Hugo Abonizio's avatar Hugo Abonizio Committed by GitHub
Browse files

Remove unreachable break (#12389)

parent 4fff8e7a
No related branches found
No related tags found
No related merge requests found
...@@ -306,7 +306,6 @@ class SentenceSplitter(MetadataAwareTextSplitter): ...@@ -306,7 +306,6 @@ class SentenceSplitter(MetadataAwareTextSplitter):
splits = split_fn(text) splits = split_fn(text)
if len(splits) > 1: if len(splits) > 1:
return splits, True return splits, True
break
for split_fn in self._sub_sentence_split_fns: for split_fn in self._sub_sentence_split_fns:
splits = split_fn(text) splits = split_fn(text)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment