Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,12 +132,7 @@ with col2:
|
|
| 132 |
|
| 133 |
# Next button in col3, right aligned
|
| 134 |
with col3:
|
| 135 |
-
st.
|
| 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)
|