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 23, 2023
1 parent f7ed10b commit d1ea153
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion royal_game_6_experimental_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,12 @@ def self_grading_chatbot():

if st.button('Reset Chat History'):
st.session_state['requests'] = []
st.session_state['responses'] = ["Hello, I'm Clio! Enter /start to begin the assignment!"]
#st.session_state['responses'] = ["Hello, I'm Clio! Enter /start to begin the assignment!"]
st.session_state['sources'] = []
st.session_state['token_count'] = []
st.session_state['questions'] = []
st.session_state['question_number'] = 1
st.session_state['conversation'] = [('Bot', "Hello, I'm Clio! Enter /start to begin the assignment!")]
st.experimental_rerun()

if 'token_count' not in st.session_state:
Expand Down

0 comments on commit d1ea153

Please sign in to comment.