Spaces:
Runtime error
Runtime error
DevashishBhake
commited on
Commit
•
08f5fbb
1
Parent(s):
01db40d
Update app.py
Browse files
app.py
CHANGED
@@ -80,8 +80,8 @@ def main(audio):
|
|
80 |
emotion = i['Emotion']
|
81 |
if emotion in ['disgust', 'fear', 'sadness']:
|
82 |
emotion = 'negative'
|
83 |
-
elif emotion == '
|
84 |
-
emotion = '
|
85 |
else:
|
86 |
emotion = 'positive'
|
87 |
|
|
|
80 |
emotion = i['Emotion']
|
81 |
if emotion in ['disgust', 'fear', 'sadness']:
|
82 |
emotion = 'negative'
|
83 |
+
elif emotion == 'anger':
|
84 |
+
emotion = 'anger'
|
85 |
else:
|
86 |
emotion = 'positive'
|
87 |
|