com3dian commited on
Commit
034b0a5
·
verified ·
1 Parent(s): 1da1b0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -132,12 +132,7 @@ with col2:
132
 
133
  # Next button in col3, right aligned
134
  with col3:
135
- st.markdown(
136
- f'<div style="display: flex; justify-content: flex-end; align-items: center; height: 100%;">'
137
- f'<button onclick="window.location.reload();">Next</button>'
138
- f'</div>',
139
- unsafe_allow_html=True
140
- )
141
 
142
  # Display HTML box
143
  st.markdown(st.session_state.current_text)
 
132
 
133
  # Next button in col3, right aligned
134
  with col3:
135
+ st.button("Next", on_click=turn_page, args=("next",))
 
 
 
 
 
136
 
137
  # Display HTML box
138
  st.markdown(st.session_state.current_text)