Update pages/chapter_index.py
Browse files- pages/chapter_index.py +5 -2
pages/chapter_index.py
CHANGED
@@ -41,7 +41,11 @@ selected_rows_list = st.session_state.selected_rows
|
|
41 |
|
42 |
selected_chapters = dataframe_with_selections(df_chapters)
|
43 |
st.write("Your selection:")
|
44 |
-
st.write(selected_chapters)
|
|
|
|
|
|
|
|
|
45 |
selected_chapters_list = selected_chapters.iloc[:,0].tolist()
|
46 |
st.write("SELECTED CHAPTERS: ", selected_chapters_list)
|
47 |
selected_rows_list = selected_chapters.iloc[:,6].tolist()
|
@@ -49,5 +53,4 @@ st.write("SELECTED ROWS: ", selected_rows_list)
|
|
49 |
|
50 |
if selected_chapters is not None:
|
51 |
st.session_state.selected_chapters = selected_chapters_list
|
52 |
-
if selected_rows is not None:
|
53 |
st.session_state.selected_rows = selected_rows_list
|
|
|
41 |
|
42 |
selected_chapters = dataframe_with_selections(df_chapters)
|
43 |
st.write("Your selection:")
|
44 |
+
st.write(selected_chapters)
|
45 |
+
#selected_rows = dataframe_with_selections(df_chapters)
|
46 |
+
#st.write("Your selection:")
|
47 |
+
#st.write(selected_rows)
|
48 |
+
|
49 |
selected_chapters_list = selected_chapters.iloc[:,0].tolist()
|
50 |
st.write("SELECTED CHAPTERS: ", selected_chapters_list)
|
51 |
selected_rows_list = selected_chapters.iloc[:,6].tolist()
|
|
|
53 |
|
54 |
if selected_chapters is not None:
|
55 |
st.session_state.selected_chapters = selected_chapters_list
|
|
|
56 |
st.session_state.selected_rows = selected_rows_list
|