Spaces:
Sleeping
Sleeping
SakibRumu
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def get_raf_label(file_path):
|
|
| 20 |
return class_mapping[str(file_path.parent.name)]
|
| 21 |
|
| 22 |
# Load the model
|
| 23 |
-
model_path = "
|
| 24 |
model = load_learner(model_path)
|
| 25 |
|
| 26 |
# Define the emotion classes
|
|
|
|
| 20 |
return class_mapping[str(file_path.parent.name)]
|
| 21 |
|
| 22 |
# Load the model
|
| 23 |
+
model_path = "efficientnet_emotion_model.pkl" # Replace with your actual model path
|
| 24 |
model = load_learner(model_path)
|
| 25 |
|
| 26 |
# Define the emotion classes
|