update requirements for openai_api

This commit is contained in:
季仁
2023-09-25 14:44:03 +08:00
parent 8902c2524e
commit e04cc38ecc
3 changed files with 3 additions and 3 deletions

View File

@@ -395,7 +395,7 @@ python cli_demo.py
We provide methods to deploy local API based on OpenAI API (thanks to @hanpenggit). Before you start, install the required packages:
```bash
pip install fastapi uvicorn openai pydantic sse_starlette
pip install fastapi uvicorn openai pydantic>=2.3.0 sse_starlette
```
Then run the command to deploy your API:

View File

@@ -387,7 +387,7 @@ python cli_demo.py
我们提供了OpenAI API格式的本地API部署方法感谢@hanpenggit)。在开始之前先安装必要的代码库:
```bash
pip install fastapi uvicorn openai pydantic sse_starlette
pip install fastapi uvicorn openai pydantic>=2.3.0 sse_starlette
```
随后即可运行以下命令部署你的本地API

View File

@@ -395,7 +395,7 @@ python cli_demo.py
OpenAI API をベースにローカルAPIをデプロイする方法を提供する@hanpenggit に感謝)。始める前に、必要なパッケージをインストールしてください:
```bash
pip install fastapi uvicorn openai pydantic sse_starlette
pip install fastapi uvicorn openai pydantic>=2.3.0 sse_starlette
```
それから、API をデプロイするコマンドを実行します: