Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
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="
|
61 |
-
st.image(wc.to_array(),use_column_width=
|
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(
|