Anthos23 commited on
Commit
28f45b5
1 Parent(s): 3d7ef34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,8 +30,8 @@ if text:
30
  out = pipe(text)
31
  df = get_sentiment(out[0])
32
  fig, ax = plt.subplots()
33
- c = ['red', 'yellow', 'green']
34
- ax.bar(df.index, df[0], color=c)
35
 
36
  st.pyplot(fig)
37
 
 
30
  out = pipe(text)
31
  df = get_sentiment(out[0])
32
  fig, ax = plt.subplots()
33
+ c = ['#C34A36', '#FFC75F', '#008F7A']
34
+ ax.bar(df.index, df[0], color=c, width=0.4)
35
 
36
  st.pyplot(fig)
37