ishans24 commited on
Commit
7beb714
Β·
verified Β·
1 Parent(s): c96a6ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -6,7 +6,7 @@ from pathlib import Path
6
 
7
  # Set page configuration
8
  st.set_page_config(
9
- page_title="Interactive Quiz App",
10
  page_icon="πŸ“š"
11
  )
12
 
@@ -78,7 +78,7 @@ def show_landing_page(subjects):
78
  if st.button(subject, key=f"subject_{idx}"):
79
  st.session_state.selected_subject = subject
80
  st.session_state.page = 'subject'
81
- st.experimental_rerun()
82
 
83
  # Practice mode
84
  def practice_mode(questions, selected_week=None):
@@ -200,7 +200,7 @@ def show_subject_page(subject, questions):
200
  with st.sidebar:
201
  if st.button("Home"):
202
  st.session_state.page = 'landing'
203
- st.experimental_rerun()
204
 
205
  # Mode selection
206
  mode = st.radio(
 
6
 
7
  # Set page configuration
8
  st.set_page_config(
9
+ page_title="Prepit: Interactive Quiz App",
10
  page_icon="πŸ“š"
11
  )
12
 
 
78
  if st.button(subject, key=f"subject_{idx}"):
79
  st.session_state.selected_subject = subject
80
  st.session_state.page = 'subject'
81
+ st.rerun()
82
 
83
  # Practice mode
84
  def practice_mode(questions, selected_week=None):
 
200
  with st.sidebar:
201
  if st.button("Home"):
202
  st.session_state.page = 'landing'
203
+ st.rerun()
204
 
205
  # Mode selection
206
  mode = st.radio(