lyrisha commited on
Commit
02eb806
·
verified ·
1 Parent(s): ec7f58f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
 
4
  class UI:
5
  def __init__(self):
6
- self.model = pipeline("sentiment-analysis", model="lyrisha/bert-finetuned-imdb-sentiment")
7
 
8
  def predict(self, text):
9
  predictions = self.model(text)
 
3
 
4
  class UI:
5
  def __init__(self):
6
+ self.model = pipeline("sentiment-analysis", model="lyrisha/distilbert-base-finetuned-sentiment")
7
 
8
  def predict(self, text):
9
  predictions = self.model(text)