Spaces:
Runtime error
Runtime error
Commit ·
69cc8c8
1
Parent(s): a546907
Update app.py
Browse files
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)
|