From b220fff1875dc4d67689f9157f334236c3e46c0b Mon Sep 17 00:00:00 2001 From: fanpt <320622572@qq.com> Date: Mon, 4 Aug 2025 09:31:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=20echo=20=E6=B6=88=E6=81=AF=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=20speaking=20=E7=8A=B6=E6=80=81=E4=BB=A5=E6=94=AF?= =?UTF-8?q?=E6=8C=81=20is=5Fspeaking=20=E5=AE=9E=E6=97=B6=E5=8F=8D?= =?UTF-8?q?=E9=A6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.py b/app.py index 8a95833..a1b3040 100644 --- a/app.py +++ b/app.py @@ -141,7 +141,9 @@ async def human(request): nerfreals[sessionid].flush_talk() if params['type']=='echo': + nerfreals[sessionid].speaking = True nerfreals[sessionid].put_msg_txt(params['text']) + elif params['type']=='chat': asyncio.get_event_loop().run_in_executor(None, llm_response, params['text'],nerfreals[sessionid]) #nerfreals[sessionid].put_msg_txt(res)