Allob commited on
Commit
b5f7332
1 Parent(s): 7bc957d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ st.write('Try to guess a secret word by semantic similarity')
51
 
52
  word = st.text_input("Input a word")
53
 
54
- used_words = [w for w, s in st.session_state['words']]
55
 
56
  if st.button("Guess") or word:
57
  if word not in used_words:
 
51
 
52
  word = st.text_input("Input a word")
53
 
54
+ used_words = [w[0] for w in st.session_state['words']]
55
 
56
  if st.button("Guess") or word:
57
  if word not in used_words: