diff --git a/doc/RUN_IN_DOCKER.md b/doc/RUN_IN_DOCKER.md index d4e8e5e4f9fdc3435f20888d9473545015f0c90e..edfd914123b2262b36e85552b179a0e412b68413 100644 --- a/doc/RUN_IN_DOCKER.md +++ b/doc/RUN_IN_DOCKER.md @@ -61,7 +61,7 @@ tar -xzf uci_housing.tar.gz Running on the Server side (inside the container): ```bash - python -m paddle_serving_server.web_serve --model uci_housing_model --thread 10 --port 9292 --name uci &>std.log 2>err.log & + python -m paddle_serving_server.serve --model uci_housing_model --thread 10 --port 9292 --name uci &>std.log 2>err.log & ``` Running on the Client side (inside or outside the container): @@ -147,7 +147,7 @@ tar -xzf uci_housing.tar.gz Running on the Server side (inside the container): ```bash - python -m paddle_serving_server_gpu.web_serve --model uci_housing_model --thread 10 --port 9292 --name uci + python -m paddle_serving_server_gpu.serve --model uci_housing_model --thread 10 --port 9292 --name uci ``` Running on the Client side (inside or outside the container): diff --git a/doc/RUN_IN_DOCKER_CN.md b/doc/RUN_IN_DOCKER_CN.md index a66eea5baf7f7d32ed7502b3c5e094663f040dfa..47914a2fdd6aa78956b783ab813edb5d3a587b7d 100644 --- a/doc/RUN_IN_DOCKER_CN.md +++ b/doc/RUN_IN_DOCKER_CN.md @@ -55,7 +55,7 @@ tar -xzf uci_housing.tar.gz 在Server端(容器内)运行: ```bash - python -m paddle_serving_server.web_serve --model uci_housing_model --thread 10 --port 9292 --name uci &>std.log 2>err.log & + python -m paddle_serving_server.serve --model uci_housing_model --thread 10 --port 9292 --name uci &>std.log 2>err.log & ``` 在Client端(容器内或容器外)运行: @@ -145,7 +145,7 @@ tar -xzf uci_housing.tar.gz 在Server端(容器内)运行: ```bash - python -m paddle_serving_server_gpu.web_serve --model uci_housing_model --thread 10 --port 9292 --name uci + python -m paddle_serving_server_gpu.serve --model uci_housing_model --thread 10 --port 9292 --name uci ``` 在Client端(容器内或容器外)运行: diff --git a/doc/demo.gif b/doc/demo.gif index 8d1accfc405686cf49891a8c97fe75f52e3daf12..2255d6ebe0900ade7463fc73f6977f0a31e028a9 100644 Binary files a/doc/demo.gif and b/doc/demo.gif differ