From a41456a83184c0a48efc09145f63f92f63ae50c2 Mon Sep 17 00:00:00 2001 From: Lucien Date: Sat, 25 Mar 2023 20:19:53 +0800 Subject: [PATCH] Fix README typo --- README.md | 2 +- README_en.md | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2824b7d..8471fd8 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ curl -X POST "http://127.0.0.1:8000" \ ### 支持流式返回的 Websocket API -由于上述 API 部署提供不支持流式返回,故在 FastAPI 的基础上增加了对 Websocket 的支持。 +由于上述 API 不支持流式返回,故在 fastapi 的基础上增加了对 websocket 的支持。 首先安装额外的依赖 `pip install 'fastapi~=0.95.0' 'websockets~=10.4'`,然后运行 [websocket_api.py](./websocket_api.py) 即可。 diff --git a/README_en.md b/README_en.md index a01fb8a..4c43de5 100644 --- a/README_en.md +++ b/README_en.md @@ -89,10 +89,7 @@ python cli_demo.py The command runs an interactive program in the shell. Type your instruction in the shell and hit enter to generate the response. Type `clear` to clear the dialogue history and `stop` to terminate the program. ## API Deployment - -### Sync API - -First install the additional dependency `pip install fastapi uvicorn`. The run [api.py](api.py) in the repo. +First install the additional dependency `pip install fastapi uvicorn`. Then run [api.py](api.py) in the repo. ```shell python api.py ```