abrar-adnan commited on
Commit
7472be1
1 Parent(s): 44cbf3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ backends = [
26
  emotion_pipeline = pipeline("text-classification", model="j-hartmann/emotion-english-distilroberta-base", return_all_scores=True)
27
  sentiment_pipeline = pipeline("sentiment-analysis", model="distilbert-base-uncased-finetuned-sst-2-english")
28
 
29
- model = load_learner("gaze-recognizer-v3.pkl")
30
 
31
  def analyze_emotion(text):
32
  result = emotion_pipeline(text)
 
26
  emotion_pipeline = pipeline("text-classification", model="j-hartmann/emotion-english-distilroberta-base", return_all_scores=True)
27
  sentiment_pipeline = pipeline("sentiment-analysis", model="distilbert-base-uncased-finetuned-sst-2-english")
28
 
29
+ model = load_learner("gaze-recognizer-v4.pkl")
30
 
31
  def analyze_emotion(text):
32
  result = emotion_pipeline(text)