danielcd99 commited on
Commit
bb80e71
1 Parent(s): 0730e9f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ if st.button('Encontre exemplos!'):
38
  df['preprocessed_review'] = df['preprocessed_review'].apply(preprocess_text)
39
 
40
  predictions = []
41
- for review in df['preprocessed_reviews']:
42
  label = pipeline(review)[0]['label']
43
  if label == 'LABEL_0':
44
  predictions.append('Negative')
 
38
  df['preprocessed_review'] = df['preprocessed_review'].apply(preprocess_text)
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')