fix streaming response in API

Former-commit-id: 72a17ae3b4fac2dc93b04a816f16f863120bc71b
This commit is contained in:
hiyouga
2023-07-05 22:42:31 +08:00
parent 82cbbc0e48
commit 83bc87e73f
3 changed files with 10 additions and 8 deletions

View File

@@ -4,6 +4,7 @@ datasets>=2.12.0
accelerate>=0.19.0
peft>=0.3.0
trl>=0.4.4
sentencepiece
jieba
rouge_chinese
nltk
@@ -11,4 +12,4 @@ gradio
mdtex2html
uvicorn
fastapi
sentencepiece
sse_starlette