Spaces:
Sleeping
Sleeping
Commit
·
7689c36
1
Parent(s):
71e4da6
delete fonts double
Browse files
app.py
CHANGED
@@ -96,9 +96,6 @@ def combined_analysis(text, slank_formal_df):
|
|
96 |
emotion_counts = df['Emotion'].value_counts()
|
97 |
fig_emotion = px.pie(emotion_counts, values=emotion_counts.values, names=emotion_counts.index, title='Emotion Distribution')
|
98 |
st.plotly_chart(fig_emotion, use_container_width=True)
|
99 |
-
|
100 |
-
# Generate word clouds
|
101 |
-
font_path = 'Poppins-Regular.ttf'
|
102 |
|
103 |
# Overall word cloud
|
104 |
overall_text = ' '.join(df['Cleaned Content'].dropna())
|
|
|
96 |
emotion_counts = df['Emotion'].value_counts()
|
97 |
fig_emotion = px.pie(emotion_counts, values=emotion_counts.values, names=emotion_counts.index, title='Emotion Distribution')
|
98 |
st.plotly_chart(fig_emotion, use_container_width=True)
|
|
|
|
|
|
|
99 |
|
100 |
# Overall word cloud
|
101 |
overall_text = ' '.join(df['Cleaned Content'].dropna())
|