Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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())
|