thak123 commited on
Commit
df3ebd1
1 Parent(s): 48e7b89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ analyzer = pipeline(
20
  )
21
 
22
  def predict_sentiment(x):
23
- print(label2id[analyzer(x))
24
  return label2id[analyzer(x)[0]["label"]]
25
 
26
 
 
20
  )
21
 
22
  def predict_sentiment(x):
23
+ print(analyzer(x))
24
  return label2id[analyzer(x)[0]["label"]]
25
 
26