danielcd99 commited on
Commit
e8059ec
1 Parent(s): bb80e71
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ if st.button('Encontre exemplos!'):
39
 
40
  predictions = []
41
  for review in df['preprocessed_review']:
42
- label = pipeline(review)[0]['label']
43
  if label == 'LABEL_0':
44
  predictions.append('Negative')
45
  else:
 
39
 
40
  predictions = []
41
  for review in df['preprocessed_review']:
42
+ label = pipe(review)[0]['label']
43
  if label == 'LABEL_0':
44
  predictions.append('Negative')
45
  else: