ValadisCERTH commited on
Commit
c0a7f85
1 Parent(s): 8c0e505

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -3
main.py CHANGED
@@ -167,8 +167,7 @@ def process_json_sf(nl_json, sentence):
167
 
168
 
169
 
170
- # def main(sentence):
171
- def main():
172
  """
173
  Function to bind together all the info and be executed
174
  """
@@ -177,4 +176,4 @@ def main():
177
  nl_json = process_json_sf(nl_data, sentence)
178
  nl_json_with_null = replace_zero_with_null(nl_json)
179
 
180
- return send_json_to_endpoint(nl_json_with_null, "searchuser", "SearchUser")
 
167
 
168
 
169
 
170
+ def main(sentence):
 
171
  """
172
  Function to bind together all the info and be executed
173
  """
 
176
  nl_json = process_json_sf(nl_data, sentence)
177
  nl_json_with_null = replace_zero_with_null(nl_json)
178
 
179
+ return nl_json_with_null