eagle0504 commited on
Commit
7e1a7b1
1 Parent(s): f41dc49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ if prompt := st.chat_input("😉 Ask any question or feel free to use the exampl
106
  st.chat_message("user").markdown(prompt)
107
 
108
  # Add user message to chat history
109
- st.session_state.messages.append({"role": "system", "content": f"You are a helpful assistant. Year now is {current_year}"})
110
  st.session_state.messages.append({"role": "user", "content": prompt})
111
 
112
  # API Call
 
106
  st.chat_message("user").markdown(prompt)
107
 
108
  # Add user message to chat history
109
+ st.session_state.messages.append({"role": "assistant", "content": f"You are a helpful assistant. Year now is {current_year}"})
110
  st.session_state.messages.append({"role": "user", "content": prompt})
111
 
112
  # API Call