diff --git a/application/services/sentiment_service.py b/application/services/sentiment_service.py index 1ddff71..e86e504 100644 --- a/application/services/sentiment_service.py +++ b/application/services/sentiment_service.py @@ -7,7 +7,7 @@ from application.functions.sentiment import sentiment_prediction, count_predicti sentiment_service = Blueprint("sentiment_service", __name__) -@sentiment_service.route("/get_sentiment_data", methods=['PUT']) +@sentiment_service.route("/get_sentiment_data", methods=['POST']) def get_data(): data = request.get_json() predicitons = sentiment_prediction(data['sentences']) #predykcje