slimshadow commited on
Commit
ea06ea3
·
verified ·
1 Parent(s): e0007a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ nav_html += "</div><br><br><br>"
47
  st.markdown(nav_html, unsafe_allow_html=True)
48
 
49
  # Get selected subject from query params
50
- subject = st.experimental_get_query_params().get("nav", ["Architecture"])[0]
51
 
52
  # Load and display content
53
  if subject in subjects:
 
47
  st.markdown(nav_html, unsafe_allow_html=True)
48
 
49
  # Get selected subject from query params
50
+ subject = st.query_params.get("nav", ["Architecture"])[0]
51
 
52
  # Load and display content
53
  if subject in subjects: