Spaces:
Runtime error
Runtime error
LTW-1181203031
commited on
Commit
•
839ed13
1
Parent(s):
c4bbeea
Update app.py
Browse files
app.py
CHANGED
@@ -160,6 +160,6 @@ iface = gr.Interface(
|
|
160 |
allow_flagging = False
|
161 |
)
|
162 |
# Override the default "Clear" button behavior
|
163 |
-
|
164 |
#Demo for the chatbot
|
165 |
iface.launch(inline = False)
|
|
|
160 |
allow_flagging = False
|
161 |
)
|
162 |
# Override the default "Clear" button behavior
|
163 |
+
iface.interface.interface_type.update(clear_chat_history=clear_chat_history)
|
164 |
#Demo for the chatbot
|
165 |
iface.launch(inline = False)
|