Ahmad-Moiz commited on
Commit
f0603d8
·
1 Parent(s): 2a6aa7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,9 +31,9 @@ if st.button("Analyze Sentiment 🚀", key="analyze_button", help="Click to anal
31
  if sentiment_label == "positive":
32
  button_color = "#33cc33" # green color for positive sentiment
33
  elif sentiment_label == "negative":
34
- button_color = "orange" # red color for negative sentiment
35
  else:
36
- button_color = "pinks" # blue color for neutral sentiment
37
 
38
  st.markdown(
39
  f'<a style="background-color:{button_color};color:white;text-decoration:none;padding:8px 12px;'
 
31
  if sentiment_label == "positive":
32
  button_color = "#33cc33" # green color for positive sentiment
33
  elif sentiment_label == "negative":
34
+ button_color = "#ff3333" # red color for negative sentiment
35
  else:
36
+ button_color = "#3399ff" # blue color for neutral sentiment
37
 
38
  st.markdown(
39
  f'<a style="background-color:{button_color};color:white;text-decoration:none;padding:8px 12px;'