lyrisha commited on
Commit
e4464db
·
1 Parent(s): 6e02732

Fix app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  class UI:
5
- def __init__(self, model):
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):