Skip to content

Commit

Permalink
Fix missing str to path conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
kowaalczyk committed Apr 3, 2019
1 parent d17e055 commit f71bdaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spacy/cli/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def train(
train_path = util.ensure_path(train_path)
dev_path = util.ensure_path(dev_path)
meta_path = util.ensure_path(meta_path)
output_path = util.ensure_path(output_path)
if raw_text is not None:
raw_text = list(srsly.read_jsonl(raw_text))
if not train_path or not train_path.exists():
Expand Down

0 comments on commit f71bdaa

Please sign in to comment.