suriya7 commited on
Commit
10a9d3b
·
verified ·
1 Parent(s): 4bc70c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ if user_prompt and uploaded_file:
116
 
117
  # Generate a new response if last message is not from assistant
118
  if st.session_state.messages[-1]["role"] != "assistant":
119
- with st.chat_message("assistant",avatar="./assistant.jpeg"):
120
  response = handle_query(user_prompt)
121
  full_response = st.write_stream(response)
122
  message = {"role": "assistant", "content": full_response}
 
116
 
117
  # Generate a new response if last message is not from assistant
118
  if st.session_state.messages[-1]["role"] != "assistant":
119
+ with st.chat_message("assistant",avatar="./chat-assistant.jpeg"):
120
  response = handle_query(user_prompt)
121
  full_response = st.write_stream(response)
122
  message = {"role": "assistant", "content": full_response}