dancingninjas commited on
Commit
b5b3b26
·
1 Parent(s): 3114278

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ if text:
12
  out = pipe(text)
13
 
14
  # Convert the model's output (0 or 1) to descriptive labels
15
- sentiment_label = "Negative" if out[0]['label'] == 'LABEL_1' else "Positive"
16
 
17
  # Display the sentiment label and probability
18
 
 
12
  out = pipe(text)
13
 
14
  # Convert the model's output (0 or 1) to descriptive labels
15
+ sentiment_label = "Positive" if out[0]['label'] == 'LABEL_1' else "Negative"
16
 
17
  # Display the sentiment label and probability
18