DevashishBhake commited on
Commit
08f5fbb
1 Parent(s): 01db40d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 == 'neutral':
84
- emotion = 'neutral'
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