Spaces:
Sleeping
Sleeping
danielcd99
commited on
Commit
•
e8059ec
1
Parent(s):
bb80e71
fix:typo
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ if st.button('Encontre exemplos!'):
|
|
39 |
|
40 |
predictions = []
|
41 |
for review in df['preprocessed_review']:
|
42 |
-
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:
|