mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-02 01:23:07 +00:00
[Minor Fix] Fix spacy TextSplitter init (#606)
This commit is contained in:
parent
3e55f1474e
commit
a87a2aacaa
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user