Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
|
@@ -162,7 +162,7 @@ def handle_submit(
|
|
| 162 |
|
| 163 |
conversation[-1] = (message, response_text)
|
| 164 |
snapshot = conversation.copy()
|
| 165 |
-
|
| 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():
|