Skip to content

Commit a87a2aa

Browse files
authored
[Minor Fix] Fix spacy TextSplitter init (#606)
1 parent 3e55f14 commit a87a2aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

langchain/text_splitter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def __init__(
223223
self, separator: str = "\n\n", pipeline: str = "en_core_web_sm", **kwargs: Any
224224
):
225225
"""Initialize the spacy text splitter."""
226-
super.__init__(**kwargs)
226+
super().__init__(**kwargs)
227227
try:
228228
import spacy
229229
except ImportError:

0 commit comments

Comments
 (0)