schlenker commited on
Commit
55db292
·
1 Parent(s): e8da674

add play agin button

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -140,6 +140,9 @@ def ask_if_helped():
140
  if y:
141
  write_bot("I am happy to help!")
142
  st.session_state.is_helpful['ask'] = False
 
 
 
143
  elif n:
144
  st.session_state.actions.append('cue')
145
  st.session_state.is_helpful['ask'] = False
 
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