Junr-syl commited on
Commit
40a59c1
·
1 Parent(s): e887946

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -75,16 +75,16 @@ if submit:
75
  with col1:
76
  com.iframe("https://embed.lottiefiles.com/animation/125694")
77
  col2.write('NEGATIVE')
78
- col3.write(f'{s:.2f}%')
79
  elif l=='POSITIVE':
80
  with col1:
81
  com.iframe("https://embed.lottiefiles.com/animation/148485")
82
  col2.write('POSITIVE')
83
- col3.write(f'{s:.2f}%')
84
  else:
85
  with col1:
86
  com.iframe("https://embed.lottiefiles.com/animation/136052")
87
  col2.write('NEUTRAL')
88
- col3.write(f'{s:.2f}%')
89
 
90
 
 
75
  with col1:
76
  com.iframe("https://embed.lottiefiles.com/animation/125694")
77
  col2.write('NEGATIVE')
78
+ col3.write(f'{s*100:.2f}%')
79
  elif l=='POSITIVE':
80
  with col1:
81
  com.iframe("https://embed.lottiefiles.com/animation/148485")
82
  col2.write('POSITIVE')
83
+ col3.write(f'{s*100:.2f}%')
84
  else:
85
  with col1:
86
  com.iframe("https://embed.lottiefiles.com/animation/136052")
87
  col2.write('NEUTRAL')
88
+ col3.write(f'{s*100:.2f}%')
89
 
90