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

Adding cached_path to input file of the predictor #3098

Merged
merged 1 commit into from
Jul 29, 2019
Merged

Adding cached_path to input file of the predictor #3098

merged 1 commit into from
Jul 29, 2019

Conversation

danieldeutsch
Copy link
Contributor

This change just helps to make my scripts a bit cleaner. I can control this in the dataset reader but not when using a predictor. I didn't add it to the other part of predict that uses a dataset reader in case someone is doing something like passing in a directory instead of a filename.

Copy link
Contributor

@matt-gardner matt-gardner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@matt-gardner matt-gardner merged commit 0caf364 into allenai:master Jul 29, 2019
reiyw pushed a commit to reiyw/allennlp that referenced this pull request Nov 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants