Mohamed41 commited on
Commit
c4b2e13
·
1 Parent(s): 8e2327a

Update mains.py

Browse files
Files changed (1) hide show
  1. mains.py +1 -1
mains.py CHANGED
@@ -88,7 +88,7 @@ emotions1 = {1: 'Neutral', 2: 'Calm', 3: 'Happy', 4: 'Sad',
88
 
89
  def prediction(path1):
90
  res=get_predict_feat(path1)
91
- predictions=loaded_model.predict(res)
92
  y_pred = encoder3.inverse_transform(predictions)
93
  print(y_pred[0][0])
94
 
 
88
 
89
  def prediction(path1):
90
  res=get_predict_feat(path1)
91
+ predictions=model.predict(res)
92
  y_pred = encoder3.inverse_transform(predictions)
93
  print(y_pred[0][0])
94