nassga commited on
Commit
c0949fd
·
1 Parent(s): 4bb136a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline
5
 
6
 
7
  #Load the model
8
- model = pipeline(task="sentiment-analysis", model="bhadresh-savani/distilbert-base-uncased-emotion")
9
 
10
  def analyze_tweet(tweet_text):
11
  results = model(tweet_text)
 
5
 
6
 
7
  #Load the model
8
+ model = pipeline(task="sentiment-analysis", model="cardiffnlp/twitter-roberta-base-sentiment")
9
 
10
  def analyze_tweet(tweet_text):
11
  results = model(tweet_text)