mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
Format
This commit is contained in:
parent
b305f2ff5a
commit
85ede32680
|
@ -75,9 +75,7 @@ def console_logger(progress_bar: bool = False):
|
|||
)
|
||||
if progress is not None:
|
||||
progress.close()
|
||||
stdout.write(
|
||||
msg.row(data, widths=table_widths, aligns=table_aligns) + "\n"
|
||||
)
|
||||
stdout.write(msg.row(data, widths=table_widths, aligns=table_aligns) + "\n")
|
||||
if progress_bar:
|
||||
# Set disable=None, so that it disables on non-TTY
|
||||
progress = tqdm.tqdm(
|
||||
|
|
|
@ -93,7 +93,8 @@ def train(
|
|||
msg.warn(
|
||||
f"Aborting and saving the final best model. "
|
||||
f"Encountered exception: {str(e)}"
|
||||
) + "\n"
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
raise e
|
||||
finally:
|
||||
|
|
Loading…
Reference in New Issue
Block a user