Update app.py
Browse files
app.py
CHANGED
|
@@ -44,4 +44,4 @@ if st.button("🔍 Analyze Sentiment"):
|
|
| 44 |
color = "red"
|
| 45 |
|
| 46 |
st.markdown(f"### Prediction: <span style='color:{color}'>{sentiment}</span>", unsafe_allow_html=True)
|
| 47 |
-
st.markdown(f"**Confidence:** `{result['score']:.2f}`")
|
|
|
|
| 44 |
color = "red"
|
| 45 |
|
| 46 |
st.markdown(f"### Prediction: <span style='color:{color}'>{sentiment}</span>", unsafe_allow_html=True)
|
| 47 |
+
st.markdown(f"**Confidence:** `{result['score']:.2f}`")
|