Anthos23 commited on
Commit
3d7ef34
1 Parent(s): 2cdda8d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -30,7 +30,8 @@ if text:
30
  out = pipe(text)
31
  df = get_sentiment(out[0])
32
  fig, ax = plt.subplots()
33
- ax.bar(df.index, df[0])
 
34
 
35
  st.pyplot(fig)
36
 
 
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