mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 21:00:19 +03:00
Update spacy/language.py
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
This commit is contained in:
parent
6c268d4ed9
commit
bffdef15dd
|
@ -1598,7 +1598,6 @@ class Language:
|
||||||
context = doc._context
|
context = doc._context
|
||||||
doc._context = None
|
doc._context = None
|
||||||
yield (doc, context)
|
yield (doc, context)
|
||||||
return
|
|
||||||
|
|
||||||
def _has_gpu_model(self, disable: Iterable[str]):
|
def _has_gpu_model(self, disable: Iterable[str]):
|
||||||
for name, proc in self.pipeline:
|
for name, proc in self.pipeline:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user