AEUPH commited on
Commit
12d4b63
·
verified ·
1 Parent(s): 831d153

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ from streamlit.components.v1 import html
3
 
4
  # Function to extract query parameters
5
  def get_query_params():
6
- # Streamlit provides st.experimental_get_query_params() to access query parameters
7
- return st.experimental_get_query_params()
8
 
9
  # Main function where we handle the redirect
10
  def main():
 
3
 
4
  # Function to extract query parameters
5
  def get_query_params():
6
+ # Use st.query_params to access query parameters
7
+ return st.query_params()
8
 
9
  # Main function where we handle the redirect
10
  def main():