Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

tidy file path in help text for invocation of docnn.json example #1221

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pytext/docs/source/train_your_first_model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ You can use PyText as a library either in your own scripts or in a Jupyter noteb

Example:

pytext train < demos/docnn.json
pytext train < demo/configs/docnn.json

Options:
--config-file TEXT
Expand Down
2 changes: 1 addition & 1 deletion pytext/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def main(context, config_file, config_json, config_module, include):

Example:

pytext train < demos/docnn.json
pytext train < demo/configs/docnn.json
"""
for path in include or []:
# remove possible trailing / from autocomplete in --include
Expand Down