thushalya
commited on
Commit
•
a2faa09
1
Parent(s):
7d7cbe2
push emotion analysis reducing by 100
Browse files
app.py
CHANGED
@@ -373,7 +373,7 @@ personality_values =None
|
|
373 |
def greet(tweet):
|
374 |
print("start")
|
375 |
prediction,preemotion_list,personality_list = load_model(tweet)
|
376 |
-
preemotion_list = [x * 100 for x in preemotion_list]
|
377 |
simple = pd.DataFrame(
|
378 |
{
|
379 |
"Emotions": ["Anger", "Anticipation", "Disgust", "Fear", "Joy", "Love", "Optimism", "Pessimism", "Sadness","Surprise","Trust"],
|
|
|
373 |
def greet(tweet):
|
374 |
print("start")
|
375 |
prediction,preemotion_list,personality_list = load_model(tweet)
|
376 |
+
# preemotion_list = [x * 100 for x in preemotion_list]
|
377 |
simple = pd.DataFrame(
|
378 |
{
|
379 |
"Emotions": ["Anger", "Anticipation", "Disgust", "Fear", "Joy", "Love", "Optimism", "Pessimism", "Sadness","Surprise","Trust"],
|