Update mains.py
Browse files
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=
|
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 |
|