Skip to content

Commit

Permalink
Update royal_game_6_experimental_layout.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Hutchinson committed Jun 22, 2023
1 parent 560f1f1 commit 5fddd2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion royal_game_6_experimental_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ def count_tokens(chain, query):

#with response_container:
with response_container:
if st.session_state['requests']:
if st.session_state['respones']:
for i in range(len(st.session_state['requests'])): # Iterate over the user requests instead of the bot responses
message(st.session_state["requests"][i], is_user=True, key=str(i) + '_user') # Display the user request
if i < len(st.session_state['responses']): # Check if a corresponding bot response exists
Expand Down

0 comments on commit 5fddd2d

Please sign in to comment.