Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -205,7 +205,7 @@ def main():
|
|
| 205 |
st.session_state.cloned_doc = None
|
| 206 |
|
| 207 |
# 🔍 Check for query parameters
|
| 208 |
-
query_params = st.
|
| 209 |
if 'q' in query_params:
|
| 210 |
query = query_params['q'][0] # Get the first value of 'q'
|
| 211 |
# 🕵️♂️ We have a query! Let's search the glossary!
|
|
|
|
| 205 |
st.session_state.cloned_doc = None
|
| 206 |
|
| 207 |
# 🔍 Check for query parameters
|
| 208 |
+
query_params = st.get_query_params()
|
| 209 |
if 'q' in query_params:
|
| 210 |
query = query_params['q'][0] # Get the first value of 'q'
|
| 211 |
# 🕵️♂️ We have a query! Let's search the glossary!
|