Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -115,6 +115,8 @@ def update_text():
|
|
115 |
text = st.text_area("Edit Text", st.session_state.current_text, height=200, key="text_area_value", on_change=update_text)
|
116 |
|
117 |
# Display page turner controls
|
|
|
|
|
118 |
# Previous button in col1
|
119 |
with col1:
|
120 |
st.button("Previous", on_click=turn_page, args=("prev",))
|
|
|
115 |
text = st.text_area("Edit Text", st.session_state.current_text, height=200, key="text_area_value", on_change=update_text)
|
116 |
|
117 |
# Display page turner controls
|
118 |
+
col1, col2, col3 = st.columns([1, 2, 1])
|
119 |
+
|
120 |
# Previous button in col1
|
121 |
with col1:
|
122 |
st.button("Previous", on_click=turn_page, args=("prev",))
|