Mohamed41 commited on
Commit
3609ed0
1 Parent(s): 54b2724

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -96,7 +96,7 @@ emotions1 = {1: 'Neutral', 2: 'Calm', 3: 'Happy', 4: 'Sad',
96
  def prediction(path1):
97
  res = get_predict_feat(path1)
98
  predictions = model.predict(res)
99
- y_pred = encoder.inverse_transform(predictions)
100
  return y_pred[0][0]
101
 
102
 
 
96
  def prediction(path1):
97
  res = get_predict_feat(path1)
98
  predictions = model.predict(res)
99
+ y_pred = encoder3.inverse_transform(predictions)
100
  return y_pred[0][0]
101
 
102