satya11 commited on
Commit
7ca5b35
·
verified ·
1 Parent(s): 1729f50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ # Main page content
4
+ st.title("Main Page")
5
+
6
+ # Button to navigate to another page
7
+ if st.button("Go to New Page"):
8
+ st.session_state.page = "new_page"
9
+ st.experimental_rerun() # Refresh the app to load the new page
10
+