Update pages/page1.py
Browse files- 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!")
|