Raghavendra0827 commited on
Commit
75e7975
·
verified ·
1 Parent(s): 77cfd0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.write("Predicted Sentiment:", Labels[predicted_label], emojis[Labels[predicted_label]])
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