From c42160d818fa5d5236577deeddd562e5a6312b6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=9Acigacz?= Date: Sat, 10 Jun 2023 13:39:05 +0200 Subject: [PATCH] deploy --- application/services/sentiment_service.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/services/sentiment_service.py b/application/services/sentiment_service.py index b9162c1..900f328 100644 --- a/application/services/sentiment_service.py +++ b/application/services/sentiment_service.py @@ -10,9 +10,9 @@ sentiment_service = Blueprint("sentiment_service", __name__) @sentiment_service.route("/get_sentiment_data", methods=['POST']) def get_data(): data = request.get_json() - data_clear = clear_data(data) #czyszczenie danych wejsciowych - predicitons = sentiment_prediction(data_clear) #predykcje - count_labels = count_predictions(predicitons) #dane do wykresu + data_clear = clear_data(data) #czyszczenie danych wejsciowych + predicitons = sentiment_prediction(data_clear) #predykcje + count_labels = count_predictions(predicitons) #dane do wykresu for i in range(0, len(predicitons)): predicitons[i]['sentence'] = data['sentences'][i]