Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -352,8 +352,8 @@ def main():
|
|
352 |
|
353 |
# ⚙️ q= Run ArXiv search from query parameters
|
354 |
try:
|
355 |
-
query_params = st.
|
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
|
|
|
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
|