fix streaming response in API

This commit is contained in:
hiyouga
2023-07-05 22:42:31 +08:00
parent e6603977f6
commit 4abd2485e1
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