Spaces:
Running
on
T4
Running
on
T4
ubi integration
Browse files
semantic_search/all_search_execute.py
CHANGED
@@ -525,9 +525,9 @@ def handler(input_,session_id):
|
|
525 |
status = ubi.send_to_lambda("ubi_queries", query_payload)
|
526 |
|
527 |
if status == 202:
|
528 |
-
|
529 |
else:
|
530 |
-
|
531 |
|
532 |
########### end of ubi lambda call for query logging ###########
|
533 |
|
|
|
525 |
status = ubi.send_to_lambda("ubi_queries", query_payload)
|
526 |
|
527 |
if status == 202:
|
528 |
+
print("Query sent to Lambda")
|
529 |
else:
|
530 |
+
print("Lambda did not accept the request")
|
531 |
|
532 |
########### end of ubi lambda call for query logging ###########
|
533 |
|