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