Skip to content

Commit

Permalink
Fixing api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniocavalcante committed Nov 15, 2019
1 parent 2fd9861 commit 8662ed1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mustache/views/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ def directory():

@api.route('/distance')
def distance():
# list(dict(hdbscan.dist_metrics.METRIC_MAPPING).keys())
d = ["euclidean", "cosine", "pearson", "manhattan", "supremum"]
return jsonify(d)
return jsonify(["euclidean", "cosine", "pearson", "manhattan", "supremum", "angular"])


@api.route('/rng')
Expand Down

0 comments on commit 8662ed1

Please sign in to comment.