fix hub serving doc
@@ -29,12 +29,16 @@ The following steps take the 2-stage series service as an example. If only the d
# Install paddlehub
pip3 install paddlehub --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple
-# Set environment variables
+# Set environment variables on Linux
export PYTHONPATH=.
+# Set environment variables on Windows
+SET PYTHONPATH=.
```
### 2. Install Service Module
-PaddleOCR provides 3 kinds of service modules, install the required modules according to your needs. Such as:
+PaddleOCR provides 3 kinds of service modules, install the required modules according to your needs.
+
+* On Linux platform, the examples are as follows.
Install the detection service module:
```shell
@@ -49,6 +53,21 @@ Or, install the 2-stage series service module:
hub install deploy/hubserving/ocr_system/
```
+* On Windows platform, the examples are as follows.
+
+Install the detection service module:
+```shell
+hub install deploy\hubserving\ocr_det\
+```
+Or, install the recognition service module:
+```shell
+hub install deploy\hubserving\ocr_rec\
+```
+Or, install the 2-stage series service module:
+```shell
+hub install deploy\hubserving\ocr_system\
+
+
### 3. Start service
#### Way 1. Start with command line parameters (CPU only)
