ricklon commited on
Commit
5e2300c
1 Parent(s): 88a839a

Update pages/page1.py

Browse files
Files changed (1) hide show
  1. pages/page1.py +1 -1
pages/page1.py CHANGED
@@ -10,6 +10,6 @@ if st.button('Go to Page 2 with Data'):
10
  # Storing data in session state to share with Page 2
11
  st.session_state['shared_data'] = user_input
12
  # Navigating to Page 2
13
- st.switch_page('pages/page2')
14
 
15
  st.write("Welcome to Page 1!")
 
10
  # Storing data in session state to share with Page 2
11
  st.session_state['shared_data'] = user_input
12
  # Navigating to Page 2
13
+ st.switch_page('pages/page2.py')
14
 
15
  st.write("Welcome to Page 1!")