KevinNuNu commited on
Commit
c1627db
1 Parent(s): c04aa50
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -15,6 +15,8 @@ async def chat_stream_test(
15
  state_chatbot (Sequence): the chatting history
16
  request (gr.Request): the request from a user
17
  """
 
 
18
  session_id = threading.current_thread().ident
19
  if request is not None:
20
  session_id = int(request.kwargs['client']['host'].replace('.', ''))
 
15
  state_chatbot (Sequence): the chatting history
16
  request (gr.Request): the request from a user
17
  """
18
+ yield (state_chatbot, state_chatbot, disable_btn, disable_btn,
19
+ '')
20
  session_id = threading.current_thread().ident
21
  if request is not None:
22
  session_id = int(request.kwargs['client']['host'].replace('.', ''))