Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Distributed testing
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrevinnoc committed Feb 13, 2021
1 parent 049bb5f commit e8537e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion future.py
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ def _answerPeerImages():
numberOfPage = request.args.get("numberOfPage", 1, type=int)
minimumScore = request.args.get("minimumScore", 0, type=float)
result = answerPeerImages(query, q_vec, queryLanguage, numberOfURLs, numberOfPage)
print("maxPeer: ", max(result["url_scores"]))
print("maxPeer: ", max(result["images_scores"]))
print("maxOriginator: ", minimumScore)
if max(result["images_scores"]) >= minimumScore:
return jsonify(result=result)
Expand Down

0 comments on commit e8537e3

Please sign in to comment.