com3dian commited on
Commit
1da1b0f
·
verified ·
1 Parent(s): 6b99783

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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",))