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)