Spaces:
Paused
Paused
empty return
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def scisearch(query, language, num_results=10):
|
|
77 |
try:
|
78 |
query = query.strip()
|
79 |
if query == "" or query is None:
|
80 |
-
return
|
81 |
|
82 |
post_data = {"query": query, "k": num_results}
|
83 |
if language != "detect_language":
|
|
|
77 |
try:
|
78 |
query = query.strip()
|
79 |
if query == "" or query is None:
|
80 |
+
return ""
|
81 |
|
82 |
post_data = {"query": query, "k": num_results}
|
83 |
if language != "detect_language":
|