From ff4267d1812d853c79b7e4e937dc29e0e849155c Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Thu, 15 Oct 2020 14:42:08 +0200 Subject: [PATCH] Fix success message [ci skip] --- spacy/about.py | 2 +- spacy/training/loop.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spacy/about.py b/spacy/about.py index a19c785bc..bf1d53a7b 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -1,6 +1,6 @@ # fmt: off __title__ = "spacy-nightly" -__version__ = "3.0.0rc0" +__version__ = "3.0.0rc1" __download_url__ = "https://github.com/explosion/spacy-models/releases/download" __compatibility__ = "https://raw.githubusercontent.com/explosion/spacy-models/master/compatibility.json" __projects__ = "https://github.com/explosion/projects" diff --git a/spacy/training/loop.py b/spacy/training/loop.py index c3fa83b39..eecb3e273 100644 --- a/spacy/training/loop.py +++ b/spacy/training/loop.py @@ -112,10 +112,10 @@ def train( nlp.to_disk(final_model_path) else: nlp.to_disk(final_model_path) - # This will only run if we don't hit an error - stdout.write( - msg.good("Saved pipeline to output directory", final_model_path) + "\n" - ) + # This will only run if we don't hit an error + stdout.write( + msg.good("Saved pipeline to output directory", final_model_path) + "\n" + ) def train_while_improving(