SakibRumu commited on
Commit
710a98b
·
verified ·
1 Parent(s): 06c9264

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "Emotion_model_vggface2.pkl" # Replace with your actual 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