str-platformAI commited on
Commit
69cc8c8
·
1 Parent(s): a546907

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ with gr.Blocks(theme='samayg/StriimTheme', css=CSS) as demo:
117
 
118
  # Append user message and response to chat history
119
  chat_history.append((query, answer))
120
- return gr.update(value="")
121
 
122
  # The msg.submit() now also depends on the status of the internet_access checkbox
123
  msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False)
 
117
 
118
  # Append user message and response to chat history
119
  chat_history.append((query, answer))
120
+ return gr.update(value=""), chat_history
121
 
122
  # The msg.submit() now also depends on the status of the internet_access checkbox
123
  msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False)