Spaces:
Sleeping
Sleeping
Leonardo Parente
commited on
Commit
·
36e5c8a
1
Parent(s):
045b4fe
clear chat
Browse files
app.py
CHANGED
|
@@ -52,6 +52,9 @@ st.markdown(
|
|
| 52 |
unsafe_allow_html=True,
|
| 53 |
)
|
| 54 |
|
|
|
|
|
|
|
|
|
|
| 55 |
|
| 56 |
if len(msgs.messages) == 0:
|
| 57 |
msgs.add_ai_message("Ask me anything about orb community projects!")
|
|
|
|
| 52 |
unsafe_allow_html=True,
|
| 53 |
)
|
| 54 |
|
| 55 |
+
if st.button("Clear Chat", type="primary"):
|
| 56 |
+
msgs.clear()
|
| 57 |
+
|
| 58 |
|
| 59 |
if len(msgs.messages) == 0:
|
| 60 |
msgs.add_ai_message("Ask me anything about orb community projects!")
|