Junr-syl commited on
Commit
0017c12
·
1 Parent(s): ed6977f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,12 +57,12 @@ if submit:
57
  score=output_dict['score']
58
 
59
  #output
60
- if lable=='NEGATIVE' or lable=='Label_0':
61
  with col1:
62
  com.iframe("https://embed.lottiefiles.com/animation/125694")
63
  col2.write('NEGATIVE')
64
  col3.write(f'{score*100:.2f}%')
65
- elif lable=='POSITIVE'or lable=='Label_2':
66
  with col1:
67
  com.iframe("https://embed.lottiefiles.com/animation/148485")
68
  col2.write('POSITIVE')
 
57
  score=output_dict['score']
58
 
59
  #output
60
+ if lable=='NEGATIVE' or lable=='LABEL_0':
61
  with col1:
62
  com.iframe("https://embed.lottiefiles.com/animation/125694")
63
  col2.write('NEGATIVE')
64
  col3.write(f'{score*100:.2f}%')
65
+ elif lable=='POSITIVE'or lable=='LABEL_2':
66
  with col1:
67
  com.iframe("https://embed.lottiefiles.com/animation/148485")
68
  col2.write('POSITIVE')