Skip to content

Commit

Permalink
chore: add thrash bin icon
Browse files Browse the repository at this point in the history
  • Loading branch information
umbertogriffo committed Jan 9, 2024
1 parent 60eca23 commit 1d888b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatbot/chatbot_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def init_chat_history(conversational_retrieval: ConversationRetrieval) -> None:
"""
Initializes the chat history, allowing users to clear the conversation.
"""
clear_button = st.sidebar.button("Clear Conversation", key="clear")
clear_button = st.sidebar.button("🗑️ Clear Conversation", key="clear")
if clear_button or "messages" not in st.session_state:
st.session_state.messages = []
conversational_retrieval.get_chat_history().clear()
Expand Down

0 comments on commit 1d888b1

Please sign in to comment.