Spaces:
Sleeping
Sleeping
Fix app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
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 launch(self):
|
|
|
2 |
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 launch(self):
|