Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -282,7 +282,7 @@ def main():
|
|
282 |
# ⚙️ q= Run ArXiv search from query parameters
|
283 |
try:
|
284 |
query_params = st.query_params
|
285 |
-
query =
|
286 |
if query:
|
287 |
# 🕵️♂️ We have a query! Let's process it!
|
288 |
process_text(query)
|
|
|
282 |
# ⚙️ q= Run ArXiv search from query parameters
|
283 |
try:
|
284 |
query_params = st.query_params
|
285 |
+
query = query_params.get('q') or query_params.get('query') or ''
|
286 |
if query:
|
287 |
# 🕵️♂️ We have a query! Let's process it!
|
288 |
process_text(query)
|