douglasgoodwin commited on
Commit
dfaded4
·
verified ·
1 Parent(s): 4e72437

more feedback

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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"]