Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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/
|
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)
|