davidepanza commited on
Commit
c28a7d9
·
verified ·
1 Parent(s): 20a8456

Update app/pages/utils_chapter/chapter_extraction.py

Browse files
app/pages/utils_chapter/chapter_extraction.py CHANGED
@@ -62,7 +62,7 @@ def extract_content_if_needed():
62
 
63
  # Extract chapters dictionary if not already present
64
  if st.session_state.get("toc") and st.session_state.get("chapters_dict") is None:
65
- with st.spinner("Extracting chapters from TOC..."):
66
  extract_chapters_from_toc(st.session_state["toc"])
67
  st.success("Chapters extracted successfully.")
68
 
 
62
 
63
  # Extract chapters dictionary if not already present
64
  if st.session_state.get("toc") and st.session_state.get("chapters_dict") is None:
65
+ with st.spinner("Extracting chapters from the table of contents. This may take up to 20 seconds"):
66
  extract_chapters_from_toc(st.session_state["toc"])
67
  st.success("Chapters extracted successfully.")
68