ashok2216 commited on
Commit
1c18727
·
verified ·
1 Parent(s): dfaf5f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ try:
62
 
63
  sentiments = []
64
  for text in reviews['processed_text']:
65
- if list(sentiment_model(text)[0].values())[0] == 'LABEL_1':
66
  output = 'Positive'
67
  else:
68
  output = 'Negative'
 
62
 
63
  sentiments = []
64
  for text in reviews['processed_text']:
65
+ if list(model(text)[0].values())[0] == 'LABEL_1':
66
  output = 'Positive'
67
  else:
68
  output = 'Negative'