Commit 7d5c001b authored by Ben Milde's avatar Ben Milde

rudimentary version of the feature server for the html5 tsne visualization

parent 92e93546
......@@ -113,13 +113,12 @@ def get_vectors():
response_vec_dict[utt_id] = feat.tolist()
response_str = json.dumps({'status':'success', 'vectors':response_vec_dict})
response = Response(response_str, mimetype='application/json')
else:
print('Not yet supported')
response_str = json.dumps({'status':'fail', 'reason':'average_utts==False not yet supported'})
response = Response(response_str, mimetype='application/json')
response = Response(response_str, mimetype='application/json')
return response
if __name__ == '__main__':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment