arpit13 commited on
Commit
2cca5e9
·
verified ·
1 Parent(s): c83d371

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ with gr.Blocks(css="""
150
  # Chatbot UI
151
  chatbot_ui = gr.Chatbot()
152
  user_input = gr.Textbox(label="Type your message here:", placeholder="Ask me anything...", lines=1)
153
- clear_button = gr.Button("Clear History")
154
  system_message = gr.Textbox(label="System Message", interactive=False)
155
 
156
  history_state = gr.State(load_history())
 
150
  # Chatbot UI
151
  chatbot_ui = gr.Chatbot()
152
  user_input = gr.Textbox(label="Type your message here:", placeholder="Ask me anything...", lines=1)
153
+ clear_button = gr.Button("Clear History", elem_id="clear-btn", elem_classes="gr-button", tooltip="Click here to clear the conversation history for privacy.")
154
  system_message = gr.Textbox(label="System Message", interactive=False)
155
 
156
  history_state = gr.State(load_history())