Update pages/2_phonics.py
Browse files- 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 |
-
|
360 |
if response.strip().startswith("image:"):
|
361 |
st.session_state['img_prompt'] = response[len("image:"):].strip()
|
362 |
|
|
|
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 |
|