Spaces:
Paused
Paused
fixes
Browse files
app.py
CHANGED
@@ -355,7 +355,14 @@ if __name__ == "__main__":
|
|
355 |
payload = request_payload(query, lang, exact_search, k, received_results)
|
356 |
err = extract_error_from_payload(payload)
|
357 |
if err is not None:
|
358 |
-
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
359 |
|
360 |
(
|
361 |
processed_results,
|
|
|
355 |
payload = request_payload(query, lang, exact_search, k, received_results)
|
356 |
err = extract_error_from_payload(payload)
|
357 |
if err is not None:
|
358 |
+
return (
|
359 |
+
[],
|
360 |
+
[],
|
361 |
+
0,
|
362 |
+
False,
|
363 |
+
process_error(err, payload),
|
364 |
+
[],
|
365 |
+
)
|
366 |
|
367 |
(
|
368 |
processed_results,
|