xtlyxt commited on
Commit
5d8bb70
·
verified ·
1 Parent(s): 8552902

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import torch
7
  pipe = pipeline("image-classification", model="trpakov/vit-face-expression", top_k=None)
8
 
9
  # Define emotion labels
10
- emotion_labels = ["Happy", "Sad", "Angry", "Surprised", "Neutral"]
11
 
12
  # Streamlit app
13
  st.title("Emotion Recognition with vit-face-expression")
 
7
  pipe = pipeline("image-classification", model="trpakov/vit-face-expression", top_k=None)
8
 
9
  # Define emotion labels
10
+ emotion_labels = ["Neutral", "Sad", "Angry", "Surprised", "Happy"]
11
 
12
  # Streamlit app
13
  st.title("Emotion Recognition with vit-face-expression")