NursNurs commited on
Commit
f40dd20
·
1 Parent(s): f08d736

fixed infinite loop

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