more feedback
Browse files
app.py
CHANGED
@@ -15,6 +15,7 @@ def classify_emotion(text):
|
|
15 |
emotion_scores = {emotion: 0.0 for emotion in ALL_EMOTIONS}
|
16 |
|
17 |
# Update the dictionary with the scores returned by the model
|
|
|
18 |
for item in predictions:
|
19 |
iscore = float(item["score"])
|
20 |
ilabel = item["label"]
|
|
|
15 |
emotion_scores = {emotion: 0.0 for emotion in ALL_EMOTIONS}
|
16 |
|
17 |
# Update the dictionary with the scores returned by the model
|
18 |
+
print(predictions)
|
19 |
for item in predictions:
|
20 |
iscore = float(item["score"])
|
21 |
ilabel = item["label"]
|