Spaces:
Sleeping
Sleeping
danielcd99
commited on
Commit
•
bb80e71
1
Parent(s):
0730e9f
fix: typo
Browse files
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['
|
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')
|