awacke1 commited on
Commit
9deb822
1 Parent(s): 0f6dab4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -352,8 +352,8 @@ def main():
352
 
353
  # ⚙️ q= Run ArXiv search from query parameters
354
  try:
355
- query_params = st.experimental_get_query_params()
356
- query = (query_params.get('q') or query_params.get('query') or [''])[0]
357
  if query:
358
  # 🕵️‍♂️ We have a query! Let's process it!
359
  # Ensure the client and container are initialized
 
352
 
353
  # ⚙️ q= Run ArXiv search from query parameters
354
  try:
355
+ query_params = st.query_params
356
+ query = (query_params.get('q') or query_params.get('query') or [''])
357
  if query:
358
  # 🕵️‍♂️ We have a query! Let's process it!
359
  # Ensure the client and container are initialized