eagle0504 commited on
Commit
56a0864
·
verified ·
1 Parent(s): 6dca666

Update app.py

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