KeshavRa commited on
Commit
67a935e
·
verified ·
1 Parent(s): 45f8a50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -74,15 +74,17 @@ else:
74
  # Display the current shelter information
75
  shelter = shelters[st.session_state.shelter_index]
76
  st.write(shelter["description"])
77
-
78
- col1, col2 = st.columns([1, 1])
79
-
 
 
80
  with col1:
81
  if st.button("Previous"):
82
  if st.session_state.shelter_index > 0:
83
  st.session_state.shelter_index -= 1
84
  st.experimental_rerun()
85
-
86
  with col2:
87
  if st.button("Next"):
88
  if st.session_state.shelter_index < len(shelters) - 1:
 
74
  # Display the current shelter information
75
  shelter = shelters[st.session_state.shelter_index]
76
  st.write(shelter["description"])
77
+
78
+ # Create two columns
79
+ col1, col2 = st.columns(2)
80
+
81
+ # Add buttons to each column
82
  with col1:
83
  if st.button("Previous"):
84
  if st.session_state.shelter_index > 0:
85
  st.session_state.shelter_index -= 1
86
  st.experimental_rerun()
87
+
88
  with col2:
89
  if st.button("Next"):
90
  if st.session_state.shelter_index < len(shelters) - 1: