mouadenna commited on
Commit
0490906
1 Parent(s): 5e0defb

Update pages/2_phonics.py

Browse files
Files changed (1) hide show
  1. pages/2_phonics.py +1 -1
pages/2_phonics.py CHANGED
@@ -356,7 +356,7 @@ def main():
356
  if st.button("    Next    "):
357
 
358
  if 0 <= st.session_state['msg_index'] < len(st.session_state['lessonList']):
359
- response = st.session_state['lessonList'][st.session_state['msg_index']]
360
  if response.strip().startswith("image:"):
361
  st.session_state['img_prompt'] = response[len("image:"):].strip()
362
 
 
356
  if st.button("&nbsp;&nbsp;&nbsp; Next &nbsp;&nbsp;&nbsp;"):
357
 
358
  if 0 <= st.session_state['msg_index'] < len(st.session_state['lessonList']):
359
+ response = st.session_state['lessonList'][st.session_state['msg_index']]
360
  if response.strip().startswith("image:"):
361
  st.session_state['img_prompt'] = response[len("image:"):].strip()
362