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