awacke1 commited on
Commit
cbf5682
1 Parent(s): 96034a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def search_glossary(query):
63
 
64
  # Display instructions and handle query parameters
65
  st.markdown("## Glossary Lookup\nEnter a term in the URL query, like `?q=Nanotechnology` or `?query=Martian Syndicate`.")
66
- query_params = st.experimental_get_query_params()
67
  query = (query_params.get('q') or query_params.get('query') or [''])[0]
68
  if query: search_glossary(query)
69
 
 
63
 
64
  # Display instructions and handle query parameters
65
  st.markdown("## Glossary Lookup\nEnter a term in the URL query, like `?q=Nanotechnology` or `?query=Martian Syndicate`.")
66
+ query_params = st.query_params
67
  query = (query_params.get('q') or query_params.get('query') or [''])[0]
68
  if query: search_glossary(query)
69