Skip to content

Commit

Permalink
print snippet data in model service
Browse files Browse the repository at this point in the history
  • Loading branch information
wesjdj committed Jan 23, 2024
1 parent 09a4dfd commit d8e3cd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/flask_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ class SnippetSpamClassifier(Resource):
def post(self):
data = request.get_json(force=True)

print(f"Snippet data received: {data}")

return jsonify(
{"prediction": "1", "score": 0.5}
)
Expand Down

0 comments on commit d8e3cd0

Please sign in to comment.