提交 db73e7e4 编写于 作者: D Dong Daxiang 提交者: GitHub

Update README.md

上级 7515abe5
......@@ -58,10 +58,12 @@ python -m paddle_serving_server.web_serve --model uci_housing_model --thread 10
```
<center>
- thread: Concurrency of current service
- port: Exposed port of current service to users
- name: Service name, can be used to generate HTTP request url
- model: Path of paddle model directory to be served
| Argument | Type | Default | Description |
|--------------|------|-----------|--------------------------------|
| `thread` | int | `10` | Concurrency of current service |
| `port` | int | `9292` | Exposed port of current service to users |
| `name` | str | `""` | Service name, can be used to generate HTTP request url |
| `model` | str | `""` | Path of paddle model directory to be served |
</center>
......@@ -74,10 +76,11 @@ curl -H "Content-Type:application/json" -X POST -d '{"x": [0.0137, -0.1136, 0.25
``` shell
python -m paddle_serving_server.serve --model uci_housing_model --thread 10 --port 9292
```
- thread: Concurrency of current service
- port: Exposed port of current service to users
- model: Path of paddle model directory to be served
| Argument | Type | Default | Description |
|--------------|------|-----------|--------------------------------|
| `thread` | int | `10` | Concurrency of current service |
| `port` | int | `9292` | Exposed port of current service to users |
| `model` | str | `""` | Path of paddle model directory to be served |
``` python
# A user can visit rpc service through paddle_serving_client API
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册