未验证 提交 09b45a8b 编写于 作者: 小湉湉's avatar 小湉湉 提交者: GitHub

Merge pull request #2558 from PaddlePaddle/fix_uvicorn

[Server]fix uvicorn's version
...@@ -113,7 +113,7 @@ class ServerExecutor(BaseExecutor): ...@@ -113,7 +113,7 @@ class ServerExecutor(BaseExecutor):
""" """
config = get_config(config_file) config = get_config(config_file)
if self.init(config): if self.init(config):
uvicorn.run(app, host=config.host, port=config.port, debug=True) uvicorn.run(app, host=config.host, port=config.port)
@cli_server_register( @cli_server_register(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册