Update pages/chapter_index.py
Browse files- pages/chapter_index.py +2 -2
pages/chapter_index.py
CHANGED
@@ -36,8 +36,8 @@ selected_chapters_list = st.session_state.selected_chapters
|
|
36 |
selected_chapters = dataframe_with_selections(df_chapters)
|
37 |
st.write("Your selection:")
|
38 |
st.write(selected_chapters)
|
39 |
-
|
40 |
-
|
41 |
|
42 |
if selected_chapters is not None:
|
43 |
st.session_state.selected_chapters = selected_chapters_list
|
|
|
36 |
selected_chapters = dataframe_with_selections(df_chapters)
|
37 |
st.write("Your selection:")
|
38 |
st.write(selected_chapters)
|
39 |
+
selected_chapters_list = selected_chapters.iloc[:,0].tolist()
|
40 |
+
st.write("SELECTED CHAPTERS: ", selected_chapters_list)
|
41 |
|
42 |
if selected_chapters is not None:
|
43 |
st.session_state.selected_chapters = selected_chapters_list
|