Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,6 +65,5 @@ if user_prompt:
|
|
| 65 |
with st.spinner("Thinking..."):
|
| 66 |
response = handle_query(user_prompt)
|
| 67 |
with st.chat_message("assistant", avatar=icons["assistant"]):
|
| 68 |
-
|
| 69 |
-
st.write(char, end="")
|
| 70 |
st.session_state.messages.append({'role': 'assistant', "content": response})
|
|
|
|
| 65 |
with st.spinner("Thinking..."):
|
| 66 |
response = handle_query(user_prompt)
|
| 67 |
with st.chat_message("assistant", avatar=icons["assistant"]):
|
| 68 |
+
st.write(streamer(response))
|
|
|
|
| 69 |
st.session_state.messages.append({'role': 'assistant', "content": response})
|