prasadnu commited on
Commit
73c42e4
·
1 Parent(s): 0150b9a

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
- st.success("Query sent to Lambda")
529
  else:
530
- st.warning("Lambda did not accept the request")
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