提交 8b05ba2f 编写于 作者: M MRXLT

fix uwsgi doc

上级 d98f3619
......@@ -29,7 +29,7 @@ from paddle_serving_server.web_service import WebService
uci_service = WebService(name = "uci")
uci_service.load_model_config("./uci_housing_model")
uci_service.prepare_server(workdir="./workdir", port=int(9500), device="cpu")
uci_service.run_server()
uci_service.run_rpc_service()
#Get flask application
app_instance = uci_service.get_app_instance()
```
......
......@@ -29,7 +29,7 @@ from paddle_serving_server.web_service import WebService
uci_service = WebService(name = "uci")
uci_service.load_model_config("./uci_housing_model")
uci_service.prepare_server(workdir="./workdir", port=int(9500), device="cpu")
uci_service.run_server()
uci_service.run_rpc_service()
#获取flask服务
app_instance = uci_service.get_app_instance()
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册