dancingninjas
commited on
Commit
·
293c95a
1
Parent(s):
7dd38c4
Update app.py
Browse files
app.py
CHANGED
@@ -21,8 +21,3 @@ if text:
|
|
21 |
st.write(f'Sentiment: {sentiment_label}')
|
22 |
st.write(f'Probability: {results[0]["score"]:.4f}')
|
23 |
|
24 |
-
# Visualize the sentiment with an emoji
|
25 |
-
if sentiment_label == 'Positive':
|
26 |
-
st.write('😃')
|
27 |
-
else:
|
28 |
-
st.write('😔')
|
|
|
21 |
st.write(f'Sentiment: {sentiment_label}')
|
22 |
st.write(f'Probability: {results[0]["score"]:.4f}')
|
23 |
|
|
|
|
|
|
|
|
|
|