diff --git a/content/en/docs/Developerguide/environment-deployment.md b/content/en/docs/Developerguide/environment-deployment.md index a5fb973122c1d4ea712876866a8842cfee9963d5..2451a906987d45cc262074eefadd821e5e0d5987 100644 --- a/content/en/docs/Developerguide/environment-deployment.md +++ b/content/en/docs/Developerguide/environment-deployment.md @@ -201,8 +201,8 @@ Before using the prediction function, you need to use OpenSSL to generate certif 3. Install the **predictor/install/requirements\(-gpu\).txt** tool. ``` - With GPU: pip install requirements-gpu.txt - Without GPU: pip install requirements.txt + With GPU: pip install -r requirements-gpu.txt + Without GPU: pip install -r requirements.txt ``` diff --git "a/content/zh/docs/Developerguide/\347\216\257\345\242\203\351\203\250\347\275\262.md" "b/content/zh/docs/Developerguide/\347\216\257\345\242\203\351\203\250\347\275\262.md" index 6d62887dc12fab44180c5ead77668a9935ed5d2c..49f87982cc940bd716f449416fd2d16b6ee670c6 100644 --- "a/content/zh/docs/Developerguide/\347\216\257\345\242\203\351\203\250\347\275\262.md" +++ "b/content/zh/docs/Developerguide/\347\216\257\345\242\203\351\203\250\347\275\262.md" @@ -201,8 +201,8 @@ curl -X POST -d '{"modelName":"modelname"}' -H 'Content-Type: application/json' 3. 安装predictor/install/requirements\(-gpu\).txt工具: ``` - 有GPU:pip install requirements-gpu.txt - 无GPU:pip install requirements.txt + 有GPU:pip install -r requirements-gpu.txt + 无GPU:pip install -r requirements.txt ```