Spaces:
Running
Running
Update app.py
Browse files
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.
|
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 |
|