allinaigc commited on
Commit
79c8889
·
verified ·
1 Parent(s): 6b22a53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -390,8 +390,8 @@ def text_mode():
390
  full_response += str(response.choices[0].delta.content)
391
  message_placeholder.markdown(full_response + "▌")
392
  message_placeholder.markdown(full_response)
393
- st.session_state.messages.append(
394
- {"role": "assistant", "content": full_response})
395
 
396
  ## load the local_KB PDF file.
397
  # # def local_KB(uploaded_file):
 
390
  full_response += str(response.choices[0].delta.content)
391
  message_placeholder.markdown(full_response + "▌")
392
  message_placeholder.markdown(full_response)
393
+ st.session_state.messages.append(
394
+ {"role": "assistant", "content": full_response})
395
 
396
  ## load the local_KB PDF file.
397
  # # def local_KB(uploaded_file):