Update app.py
Browse files
app.py
CHANGED
@@ -57,12 +57,12 @@ if submit:
|
|
57 |
score=output_dict['score']
|
58 |
|
59 |
#output
|
60 |
-
if lable=='NEGATIVE' or lable=='
|
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=='
|
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')
|