Mr-Vicky-01 commited on
Commit
e1a487f
1 Parent(s): 250bef1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -40,7 +40,7 @@ if user_input:
40
  response = get_response(user_input)
41
 
42
  with st.chat_message("assistant"):
43
- st.write(response)
44
- # full_response = st.write_stream(get_response(response))
45
  message = {"role": "assistant", "content": response}
46
  st.session_state.messages.append(message)
 
40
  response = get_response(user_input)
41
 
42
  with st.chat_message("assistant"):
43
+ # st.write(response)
44
+ st.write_stream(response_streaming(response))
45
  message = {"role": "assistant", "content": response}
46
  st.session_state.messages.append(message)