cjzhi98 commited on
Commit
e5935ce
1 Parent(s): ce4cdbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,11 +50,11 @@ if authentication_status:
50
  authenticator.logout("Logout", "sidebar")
51
  if st.sidebar.button("Refresh Chat"):
52
  st.session_state.messages = [
53
- {"role": "assistant", "content": "How may I help you?"}
54
  ]
55
  if "messages" not in st.session_state:
56
  st.session_state.messages = [
57
- {"role": "assistant", "content": "How may I help you?"}
58
  ]
59
 
60
  for message in st.session_state.messages:
 
50
  authenticator.logout("Logout", "sidebar")
51
  if st.sidebar.button("Refresh Chat"):
52
  st.session_state.messages = [
53
+ {"role": "assistant", "content": greeting}
54
  ]
55
  if "messages" not in st.session_state:
56
  st.session_state.messages = [
57
+ {"role": "assistant", "content": greeting}
58
  ]
59
 
60
  for message in st.session_state.messages: