CCockrum commited on
Commit
b909d57
Β·
verified Β·
1 Parent(s): 825f1be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -156,12 +156,14 @@ def get_response(system_message, chat_history, user_text, max_new_tokens=512):
156
  st.title("πŸš€ HAL - Your NASA AI Assistant")
157
  st.markdown("🌌 *Ask me about space, NASA, and beyond!*")
158
 
 
159
  if st.sidebar.button("Reset Chat"):
160
  st.session_state.chat_history = [{"role": "assistant", "content": "Hello! How can I assist you today?"}]
161
  st.session_state.response_ready = False
162
  st.session_state.follow_up = ""
163
  st.experimental_rerun()
164
 
 
165
  st.markdown("""
166
  <style>
167
  .user-msg {
 
156
  st.title("πŸš€ HAL - Your NASA AI Assistant")
157
  st.markdown("🌌 *Ask me about space, NASA, and beyond!*")
158
 
159
+ #Reset Button
160
  if st.sidebar.button("Reset Chat"):
161
  st.session_state.chat_history = [{"role": "assistant", "content": "Hello! How can I assist you today?"}]
162
  st.session_state.response_ready = False
163
  st.session_state.follow_up = ""
164
  st.experimental_rerun()
165
 
166
+ #Style and Appearance
167
  st.markdown("""
168
  <style>
169
  .user-msg {