Dpngtm commited on
Commit
6d09264
·
verified ·
1 Parent(s): 7b4cf33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def recognize_emotion(audio):
63
 
64
  # Prepare the confidence scores without converting to percentages
65
  confidence_scores = {
66
- f"{emotion} {emotion_icons[emotion]}": float(prob)
67
  for emotion, prob in zip(emotion_labels, probs)
68
  }
69
 
 
63
 
64
  # Prepare the confidence scores without converting to percentages
65
  confidence_scores = {
66
+ f"{emotion} {emotion_icons[emotion]}": prob
67
  for emotion, prob in zip(emotion_labels, probs)
68
  }
69