schlenker commited on
Commit
16e64e7
·
1 Parent(s): 55db292
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -139,10 +139,10 @@ def ask_if_helped():
139
  new = st.button('I have a new word', key=62)
140
  if y:
141
  write_bot("I am happy to help!")
142
- st.session_state.is_helpful['ask'] = False
143
  again = st.button('Play again')
144
  if again:
145
  write_bot("Please describe your word!")
 
146
  elif n:
147
  st.session_state.actions.append('cue')
148
  st.session_state.is_helpful['ask'] = False
 
139
  new = st.button('I have a new word', key=62)
140
  if y:
141
  write_bot("I am happy to help!")
 
142
  again = st.button('Play again')
143
  if again:
144
  write_bot("Please describe your word!")
145
+ st.session_state.is_helpful['ask'] = False
146
  elif n:
147
  st.session_state.actions.append('cue')
148
  st.session_state.is_helpful['ask'] = False