NursNurs commited on
Commit
d9c8561
·
1 Parent(s): d63d0a2

trynna fix the remember word -yes/no bug again

Browse files
Files changed (1) hide show
  1. pages/2_Context-based_chatbot.py +3 -1
pages/2_Context-based_chatbot.py CHANGED
@@ -355,10 +355,12 @@ if st.session_state.actions_context[-1] == 'cue':
355
  st.session_state.counter_context["letter_count"] = 0
356
  st.session_state.actions_context.append('cue')
357
 
 
 
358
  if new:
359
  write_bot("Please give a sentence using a <mask> instead of the word you have in mind!")
360
  st.session_state.counter_context["word_count"] = 0
361
  st.session_state.counter_context["letter_count"] = 0
362
 
363
- break
364
 
 
355
  st.session_state.counter_context["letter_count"] = 0
356
  st.session_state.actions_context.append('cue')
357
 
358
+ ask_if_helped_context()
359
+
360
  if new:
361
  write_bot("Please give a sentence using a <mask> instead of the word you have in mind!")
362
  st.session_state.counter_context["word_count"] = 0
363
  st.session_state.counter_context["letter_count"] = 0
364
 
365
+
366