dancingninjas commited on
Commit
7dd38c4
·
1 Parent(s): f90c3a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ if text:
14
  results = pipe(text)
15
 
16
  # Determine sentiment label
17
- sentiment_label = "Positive" if results[0]['label'] == 'LABEL_1' else "Negative"
18
 
19
  # Display sentiment label and probability
20
  st.subheader('Sentiment Analysis Result:')
 
14
  results = pipe(text)
15
 
16
  # Determine sentiment label
17
+ sentiment_label = "Negative" if results[0]['label'] == 'LABEL_1' else "Positive"
18
 
19
  # Display sentiment label and probability
20
  st.subheader('Sentiment Analysis Result:')