Update app.py
Browse files
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]}":
|
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 |
|