Skip to content

Commit

Permalink
add 'allennlp_server' to default plugins (allenai#4348)
Browse files Browse the repository at this point in the history
* add 'allennlp_server' to default plugins

* update CHANGELOG
  • Loading branch information
epwalsh authored Jun 11, 2020
1 parent 33d0cd8 commit d98d13b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `Predictor.from_path` now automatically loads plugins (unless you specify `load_plugins=False`) so
that you don't have to manually import a bunch of modules when instantiating predictors from
an archive path.
- `allennlp-server` automatically found as a plugin once again.

### Added

Expand Down
2 changes: 1 addition & 1 deletion allennlp/common/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
logger = logging.getLogger(__name__)


DEFAULT_PLUGINS = ("allennlp_models",)
DEFAULT_PLUGINS = ("allennlp_models", "allennlp_server")


def discover_file_plugins(plugins_filename: str = ".allennlp_plugins") -> Iterable[str]:
Expand Down

0 comments on commit d98d13b

Please sign in to comment.