suriya7 commited on
Commit
657f41f
1 Parent(s): 9d6ad70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ if user_prompt:
100
  if st.session_state.messages[-1]["role"] != "assistant":
101
  with st.chat_message("assistant"):
102
  with st.spinner("Thinking..."):
103
- st.write(response)
104
  st.session_state.messages.append({'role': 'assistant', "content": response})
105
 
106
  # for message in st.session_state.messages:
 
100
  if st.session_state.messages[-1]["role"] != "assistant":
101
  with st.chat_message("assistant"):
102
  with st.spinner("Thinking..."):
103
+ st.write(response)
104
  st.session_state.messages.append({'role': 'assistant', "content": response})
105
 
106
  # for message in st.session_state.messages: