Skip to content

Commit

Permalink
Small logging message edits
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkhamLee committed Mar 6, 2024
1 parent c01b391 commit c441cb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def embeddings():
score_type = request.form.get('type')
threshold = request.form.get('threshold')

logger.info(f'Request received @ endpoint for photo pairs, score type: {score_type}, and match threshold: {threshold}') # noqa: E501
logger.info(f'Request received at endpoint for photo pairs, score type: {score_type}, and match threshold: {threshold}') # noqa: E501

# python parses the data as a string and we need it to be a float to
# be used for scoring
Expand Down Expand Up @@ -97,7 +97,7 @@ def cached():
score_type = request.form.get('type')
threshold = request.form.get('threshold')

logger.info(f'Request received @ cached data endpoint, score type: {score_type}, match threshold: {threshold}') # noqa: E501
logger.info(f'Request received at cached data endpoint, score type: {score_type}, match threshold: {threshold}') # noqa: E501

# python parses the data as a string as we need it to be a float
# to be used for scoring
Expand Down

0 comments on commit c441cb4

Please sign in to comment.