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

Create pages/newpages.py

Browse files
Files changed (1) hide show
  1. pages/newpages.py +9 -0
pages/newpages.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ st.title("New Page")
4
+ st.write("Welcome to the new page!")
5
+
6
+ # Optional: Button to go back to the main page
7
+ if st.button("Go Back"):
8
+ st.session_state.page = "main"
9
+ st.experimental_rerun()