Uvini commited on
Commit
f9c09c4
1 Parent(s): 23a34ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -51,14 +51,14 @@ if file is not None:
51
  unsafe_allow_html=True
52
  )
53
  wc = WordCloud(width=800, height=400, background_color="white", colormap="winter").generate(positive_reviews)
54
- st.image(wc.to_array(),use_column_width=False, width=800)
55
 
56
  st.markdown(
57
  f'<div style="background-color: #4AA6DD; color: #ffffff; padding: 6px; font-size: 20px; font-family: Open-Sans; font-weight: bold; text-align: center; margin-bottom: 40px; margin-top: 60px; border-radius: 2rem"> Causes behind Negative Reviews</div>',
58
  unsafe_allow_html=True
59
  )
60
- wc = WordCloud(width=800, height=400, background_color="white", colormap="Blues").generate(negative_reviews)
61
- st.image(wc.to_array(),use_column_width=False)
62
 
63
  # Display the sentiment of each review as cards
64
  st.markdown(
 
51
  unsafe_allow_html=True
52
  )
53
  wc = WordCloud(width=800, height=400, background_color="white", colormap="winter").generate(positive_reviews)
54
+ st.image(wc.to_array(),use_column_width=True)
55
 
56
  st.markdown(
57
  f'<div style="background-color: #4AA6DD; color: #ffffff; padding: 6px; font-size: 20px; font-family: Open-Sans; font-weight: bold; text-align: center; margin-bottom: 40px; margin-top: 60px; border-radius: 2rem"> Causes behind Negative Reviews</div>',
58
  unsafe_allow_html=True
59
  )
60
+ wc = WordCloud(width=800, height=400, background_color="white", colormap="winter").generate(negative_reviews)
61
+ st.image(wc.to_array(),use_column_width=True)
62
 
63
  # Display the sentiment of each review as cards
64
  st.markdown(