prakharg24 commited on
Commit
35aba11
·
verified ·
1 Parent(s): b85aef0

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +14 -0
utils.py CHANGED
@@ -9,6 +9,20 @@ def go_to(page_name, from_callback=False):
9
  if not from_callback:
10
  st.rerun()
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  # Define pipeline stages
13
  pipeline_data = {
14
  "Data Collection": {
 
9
  if not from_callback:
10
  st.rerun()
11
 
12
+ def add_bottom_navigation(previous_page, next_page):
13
+ col1, col2, col3 = st.columns([1, 3, 1])
14
+
15
+ st.markdown("---")
16
+ if previous_page is not None:
17
+ with col1:
18
+ if st.button("Previous"):
19
+ go_to(previous_page)
20
+
21
+ if next_page is not None:
22
+ with col3:
23
+ if st.button("Next"):
24
+ go_to(next_page)
25
+
26
  # Define pipeline stages
27
  pipeline_data = {
28
  "Data Collection": {