A Sanic server that serves up AllenNLP models as well as our demo.
Usually you would use
rather than instantiating an
make_app(build_dir: str = None) → sanic.app.Sanic¶
run(port: int, workers: int, trained_models: typing.Dict[str, str], static_dir: str = None) → None¶
Run the server programatically