fix
This commit is contained in:
parent
3394f00690
commit
1dca6fd729
@ -10,8 +10,7 @@ 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)
|
||||
print(data_clear) #czyszczenie danych wejsciowych
|
||||
data_clear = clear_data(data) #czyszczenie danych wejsciowych
|
||||
predicitons = sentiment_prediction(data_clear) #predykcje
|
||||
count_labels = count_predictions(predicitons) #dane do wykresu
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user