habdine commited on
Commit
9e6c8d8
·
verified ·
1 Parent(s): bfc54a9

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -162,7 +162,7 @@ def handle_submit(
162
 
163
  conversation[-1] = (message, response_text)
164
  snapshot = conversation.copy()
165
- yield snapshot, snapshot, gr.update(value="")
166
 
167
 
168
  def clear_conversation():
 
162
 
163
  conversation[-1] = (message, response_text)
164
  snapshot = conversation.copy()
165
+ return snapshot, snapshot, gr.update(value="")
166
 
167
 
168
  def clear_conversation():