Skip to content

Commit

Permalink
do not output b64
Browse files Browse the repository at this point in the history
  • Loading branch information
svebk committed Oct 14, 2019
1 parent b6aa96f commit 8e0e53e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cufacesearch/cufacesearch/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ def search_byB64(self, query, options=None):
"""
query_b64s = [str(x) for x in query.split(',') if not x.startswith('data:')]
print("Received {} B64 queries with length of: {}".format(len(query_b64s), [len(x) for x in query_b64s]))
for i in range(len(query_b64s)):
print(i,query_b64s[i])
#for i in range(len(query_b64s)):
# print(i,query_b64s[i])
options_dict, errors = self.get_options_dict(options)
outp = self.searcher.search_imageB64_list(query_b64s, options_dict)
outp_we = self.append_errors(outp, errors)
Expand Down

0 comments on commit 8e0e53e

Please sign in to comment.