com3dian commited on
Commit
85a074f
·
verified ·
1 Parent(s): 55f8769

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -94,6 +94,7 @@ if 'current_text' not in st.session_state:
94
 
95
  # Function to handle page turn
96
  def turn_page(direction):
 
97
  summ_text[st.session_state.page_index] = st.session_state.current_text
98
  if direction == "next" and st.session_state.page_index < len(summ_text) - 1:
99
  st.session_state.page_index += 1
 
94
 
95
  # Function to handle page turn
96
  def turn_page(direction):
97
+ print(st.session_state.current_text)
98
  summ_text[st.session_state.page_index] = st.session_state.current_text
99
  if direction == "next" and st.session_state.page_index < len(summ_text) - 1:
100
  st.session_state.page_index += 1