awacke1 commited on
Commit
62a9eaa
1 Parent(s): be206a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -202,8 +202,8 @@ if st.button("Clear Query Parameters"):
202
  st.markdown("### Query Parameters - Navigate or Trigger Functionalities")
203
  st.write("Current Query Parameters:", st.query_params)
204
 
205
- if 'query' in st.query_params():
206
- query = st.query_params()['query'][0] # Get the query parameter
207
  # Display content or image based on the query
208
  display_content_or_image(query)
209
 
 
202
  st.markdown("### Query Parameters - Navigate or Trigger Functionalities")
203
  st.write("Current Query Parameters:", st.query_params)
204
 
205
+ if 'query' in st.query_params:
206
+ query = st.query_params['query'][0] # Get the query parameter
207
  # Display content or image based on the query
208
  display_content_or_image(query)
209