ola13 commited on
Commit
60cd6b6
1 Parent(s): 996f0c9
Files changed (1) hide show
  1. app.py +8 -1
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 process_error(err, payload)
 
 
 
 
 
 
 
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,