Commit 1a203c6e authored by 于飞's avatar 于飞

换行修改

parent b70051ad
......@@ -545,7 +545,7 @@ async def stream_generator(chat, incremental: bool, model_name: str):
chunk, exclude_unset=True, ensure_ascii=False
)
json_chunk = json_chunk.replace("\\n", "n")
#print(f"===>:{json_chunk}")
print(f"===>:{json_chunk}")
#yield f"data: {json_chunk}\n\n"
yield f"data: {json_chunk}"
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment