Junr-syl commited on
Commit
a548e46
·
1 Parent(s): 0aaefc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -15
app.py CHANGED
@@ -77,20 +77,20 @@ score=output_dict['score']
77
  # s = scores[ranking[0]]
78
 
79
  #output
80
- if lable=='NEGATIVE':
81
- with col1:
82
- com.iframe("https://embed.lottiefiles.com/animation/125694")
83
- col2.write('NEGATIVE')
84
- col3.write(f'{score*100:.2f}%')
85
- elif lable=='POSITIVE':
86
- with col1:
87
- com.iframe("https://embed.lottiefiles.com/animation/148485")
88
- col2.write('POSITIVE')
89
- col3.write(f'{score*100:.2f}%')
90
- else:
91
- with col1:
92
- com.iframe("https://embed.lottiefiles.com/animation/136052")
93
- col2.write('NEUTRAL')
94
- col3.write(f'{score*100:.2f}%')
95
 
96
 
 
77
  # s = scores[ranking[0]]
78
 
79
  #output
80
+ if lable=='NEGATIVE':
81
+ with col1:
82
+ com.iframe("https://embed.lottiefiles.com/animation/125694")
83
+ col2.write('NEGATIVE')
84
+ col3.write(f'{score*100:.2f}%')
85
+ elif lable=='POSITIVE':
86
+ with col1:
87
+ com.iframe("https://embed.lottiefiles.com/animation/148485")
88
+ col2.write('POSITIVE')
89
+ col3.write(f'{score*100:.2f}%')
90
+ else:
91
+ with col1:
92
+ com.iframe("https://embed.lottiefiles.com/animation/136052")
93
+ col2.write('NEUTRAL')
94
+ col3.write(f'{score*100:.2f}%')
95
 
96