Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -184,10 +184,11 @@ if submitted and user_message:
|
|
184 |
# Update history with full bot response
|
185 |
st.session_state["history"][-1] = (user_message, bot_response)
|
186 |
|
|
|
187 |
# Clear chat history button
|
188 |
if st.button("Clear Chat"):
|
189 |
st.session_state["history"] = []
|
190 |
-
st.
|
191 |
|
192 |
# Footer
|
193 |
-
st.markdown('<div class="footer">Made with ❤️ by TachyHealth</div>', unsafe_allow_html=True)
|
|
|
184 |
# Update history with full bot response
|
185 |
st.session_state["history"][-1] = (user_message, bot_response)
|
186 |
|
187 |
+
# Clear chat history button
|
188 |
# Clear chat history button
|
189 |
if st.button("Clear Chat"):
|
190 |
st.session_state["history"] = []
|
191 |
+
st.rerun()
|
192 |
|
193 |
# Footer
|
194 |
+
st.markdown('<div class="footer">Gazal.ai © 2025 Made with ❤️ by TachyHealth</div>', unsafe_allow_html=True)
|