asitts commited on
Commit
35f136d
·
1 Parent(s): 25f6935

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ for message in st.session_state.messages: # Display the prior chat messages
39
  st.write(message["content"])
40
 
41
 
42
- if st.session_state.messages[]== 0:
43
  with st.chat_message("assistant"):
44
  with st.spinner("Warming Up..."):
45
  response = chat_engine.chat("Provide a summary of Scribe. End your response by asking me if anything you've stated is incorrect. Then proceed with asking your series of up to 5 clarifying questions.")
 
39
  st.write(message["content"])
40
 
41
 
42
+ if st.session_state.messages[index] == 0:
43
  with st.chat_message("assistant"):
44
  with st.spinner("Warming Up..."):
45
  response = chat_engine.chat("Provide a summary of Scribe. End your response by asking me if anything you've stated is incorrect. Then proceed with asking your series of up to 5 clarifying questions.")