Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -55,8 +55,8 @@ if file is not None:
|
|
55 |
unsafe_allow_html=True
|
56 |
)
|
57 |
|
58 |
-
wc = WordCloud(width=
|
59 |
-
st.
|
60 |
|
61 |
st.markdown(
|
62 |
f'<div style="background-color: #4AA6DD; color: #ffffff; padding: 6px; font-size: 20px; font-family: Verdana; font-weight: bold; text-align: center; margin-bottom: 40px; margin-top: 60px; border-radius: 1rem"> Causes behind Negative Reviews</div>',
|
|
|
55 |
unsafe_allow_html=True
|
56 |
)
|
57 |
|
58 |
+
wc = WordCloud(width=800, height=300, background_color="white", colormap="winter").generate(positive_reviews)
|
59 |
+
st.image(wc.to_array(),use_column_width=True)
|
60 |
|
61 |
st.markdown(
|
62 |
f'<div style="background-color: #4AA6DD; color: #ffffff; padding: 6px; font-size: 20px; font-family: Verdana; font-weight: bold; text-align: center; margin-bottom: 40px; margin-top: 60px; border-radius: 1rem"> Causes behind Negative Reviews</div>',
|