mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-23 20:23:59 +00:00
[Minor Fix] Fix spacy TextSplitter init (#606)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user