From 4e9db47859f04dd27ef5c8c936fe314553fab0cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=9Acigacz?= Date: Tue, 30 May 2023 15:47:36 +0200 Subject: [PATCH] test --- application/functions/sentiment.py | 1 - 1 file changed, 1 deletion(-) diff --git a/application/functions/sentiment.py b/application/functions/sentiment.py index 1463057..d54b0dd 100644 --- a/application/functions/sentiment.py +++ b/application/functions/sentiment.py @@ -12,7 +12,6 @@ tokenizer = AutoTokenizer.from_pretrained("Scigi/sentiment-analysis-model") def sentiment_prediction(data): pipe = pipeline('text-classification', model=model, tokenizer = tokenizer) result = pipe(data) - return result def clear_data(data):