Spaces:
Sleeping
Sleeping
Bug fixes
Browse files
app.py
CHANGED
@@ -124,6 +124,7 @@ def ask_if_helped():
|
|
124 |
write_bot("I am happy to help!")
|
125 |
elif n:
|
126 |
st.session_state.actions.append('cue')
|
|
|
127 |
elif new:
|
128 |
write_bot("Please describe your word!")
|
129 |
# st.session_state.is_helpful['ask'] = False
|
@@ -278,8 +279,8 @@ if st.session_state.actions[-1] == "result":
|
|
278 |
#time.sleep(1)
|
279 |
st.session_state.actions.append('cue')
|
280 |
cue_generation()
|
281 |
-
write_bot('Does it help you remember the word?', remember=False)
|
282 |
-
st.session_state.is_helpful['ask'] = True
|
283 |
|
284 |
if st.session_state.is_helpful['ask']:
|
285 |
ask_if_helped()
|
|
|
124 |
write_bot("I am happy to help!")
|
125 |
elif n:
|
126 |
st.session_state.actions.append('cue')
|
127 |
+
cue_generation()
|
128 |
elif new:
|
129 |
write_bot("Please describe your word!")
|
130 |
# st.session_state.is_helpful['ask'] = False
|
|
|
279 |
#time.sleep(1)
|
280 |
st.session_state.actions.append('cue')
|
281 |
cue_generation()
|
282 |
+
#write_bot('Does it help you remember the word?', remember=False)
|
283 |
+
#st.session_state.is_helpful['ask'] = True
|
284 |
|
285 |
if st.session_state.is_helpful['ask']:
|
286 |
ask_if_helped()
|