Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -285,7 +285,7 @@ def main():
|
|
| 285 |
if st.button("Predict"):
|
| 286 |
predicted_label = pred(selected_text)[0]
|
| 287 |
try:
|
| 288 |
-
st.
|
| 289 |
except:
|
| 290 |
st.write("Predicted Sentiment:", Labels[predicted_label])
|
| 291 |
|
|
|
|
| 285 |
if st.button("Predict"):
|
| 286 |
predicted_label = pred(selected_text)[0]
|
| 287 |
try:
|
| 288 |
+
st.markdown('<h1 style="color: #66ccff;">f"{predicted_label}"</h1>', unsafe_allow_html=True)
|
| 289 |
except:
|
| 290 |
st.write("Predicted Sentiment:", Labels[predicted_label])
|
| 291 |
|