sm2899 commited on
Commit
4267362
1 Parent(s): 4295078

Update sentiment-analyser.py

Browse files
Files changed (1) hide show
  1. sentiment-analyser.py +2 -2
sentiment-analyser.py CHANGED
@@ -20,5 +20,5 @@ if submit:
20
  score = result['score']
21
  if label == 'POSITIVE':
22
  st.success(f'{label} sentiment (score: {score})')
23
- else:
24
- st.error(f'{label} sentiment (score: {score})')
 
20
  score = result['score']
21
  if label == 'POSITIVE':
22
  st.success(f'{label} sentiment (score: {score})')
23
+ else:
24
+ st.error(f'{label} sentiment (score: {score})')