From a87a2aacaa0606d4e5949e711733b2bdd236e6c9 Mon Sep 17 00:00:00 2001 From: Smit Shah Date: Fri, 13 Jan 2023 19:54:44 +0530 Subject: [PATCH] [Minor Fix] Fix spacy TextSplitter init (#606) --- langchain/text_splitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/text_splitter.py b/langchain/text_splitter.py index 42434f121c6..8a4aae2e916 100644 --- a/langchain/text_splitter.py +++ b/langchain/text_splitter.py @@ -223,7 +223,7 @@ class SpacyTextSplitter(TextSplitter): self, separator: str = "\n\n", pipeline: str = "en_core_web_sm", **kwargs: Any ): """Initialize the spacy text splitter.""" - super.__init__(**kwargs) + super().__init__(**kwargs) try: import spacy except ImportError: