merge
This commit is contained in:
commit
e43a18241c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user