From 2525473c205feadf8000c675c73aea9d99b699ee Mon Sep 17 00:00:00 2001 From: kadarakos Date: Thu, 15 Sep 2022 12:51:32 +0000 Subject: [PATCH] remove debug --- spacy/cli/apply.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/spacy/cli/apply.py b/spacy/cli/apply.py index 3c50b131b..85b843830 100644 --- a/spacy/cli/apply.py +++ b/spacy/cli/apply.py @@ -30,7 +30,6 @@ def _stream_docbin(path: Path, vocab: Vocab) -> Iterable[Doc]: """ Stream Doc objects from DocBin. """ - input(path) docbin = DocBin().from_disk(path) for doc in docbin.get_docs(vocab): yield doc @@ -61,7 +60,6 @@ def _maybe_read_text(path: Path) -> Union[str, None]: return text except UnicodeDecodeError as e: msg.warn(f"Skipping file {path}") - print(e) return None