suryabbrj commited on
Commit
1af89f9
1 Parent(s): 56ce111

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def predict(image):
12
 
13
 
14
  def sentiment_analysis(shortened):
15
- pipe = pipeline('text-classification')
16
  senti = pipe(shortened)
17
  return senti
18
 
 
12
 
13
 
14
  def sentiment_analysis(shortened):
15
+ pipe = pipeline('sentiment-analysis')
16
  senti = pipe(shortened)
17
  return senti
18