import streamlit as st def main(): st.title("Load Exam") # Mock exam loading functionality if st.button("Load Exam"): st.session_state.exam_loaded = True st.session_state.page_access["Take Exam"] = True st.session_state.page_access["Load Exam"] = False st.success("Exam loaded successfully!") if __name__ == "__main__": main()