tclopess commited on
Commit
0cac39e
·
verified ·
1 Parent(s): e5b3a4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ threshold = 0.5
38
 
39
  if label == 'LABEL_1' and score > sentiment_threshold: # Positive sentiment
40
  return 'POSITIVO'
41
- else label == 'LABEL_0' and score <= sentiment_threshold: # Negative sentiment
42
  return 'NEGATIVO'
43
 
44
 
 
38
 
39
  if label == 'LABEL_1' and score > sentiment_threshold: # Positive sentiment
40
  return 'POSITIVO'
41
+ else: label == 'LABEL_0' and score <= sentiment_threshold: # Negative sentiment
42
  return 'NEGATIVO'
43
 
44