Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,5 @@ if st.button('Back to Page 1'):
|
|
18 |
|
19 |
# Button to navigate to Page 2 and pass data
|
20 |
if st.button('Go to Page 2 with Data'):
|
21 |
-
# Storing data in session state to share with Page 2
|
22 |
-
st.session_state['shared_data'] = user_input
|
23 |
# Navigating to Page 2
|
24 |
st.switch_page('pages/page2.py')
|
|
|
18 |
|
19 |
# Button to navigate to Page 2 and pass data
|
20 |
if st.button('Go to Page 2 with Data'):
|
|
|
|
|
21 |
# Navigating to Page 2
|
22 |
st.switch_page('pages/page2.py')
|