mirror of
https://github.com/QwenLM/Qwen.git
synced 2026-05-21 08:55:48 +08:00
update requirements for openai_api
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user