Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,21 +78,15 @@ if txt:
|
|
| 78 |
|
| 79 |
### Output section Start ###
|
| 80 |
|
| 81 |
-
## Wordcloud ##
|
| 82 |
-
|
| 83 |
-
|
| 84 |
st.pyplot(plot_wordcloud(wordcloud))
|
|
|
|
| 85 |
|
| 86 |
-
st.
|
| 87 |
-
|
| 88 |
-
## Sentiment Analysis ##
|
| 89 |
-
st.markdown(":violet[Sentiment Analysis: ]")
|
| 90 |
-
if df:
|
| 91 |
st.plotly_chart(fig_s)
|
| 92 |
st.dataframe(df)
|
| 93 |
-
|
| 94 |
-
st.markdown("##### :blue[Summarizer with ChatGPT: ]")
|
| 95 |
-
st.markdown(f"###### :black[{response}]")
|
| 96 |
|
| 97 |
## Moderation ##
|
| 98 |
st.markdown("##### :blue[Content moderation: ]")
|
|
|
|
| 78 |
|
| 79 |
### Output section Start ###
|
| 80 |
|
| 81 |
+
## Wordcloud and Sentiment Analysis##
|
| 82 |
+
if txt:
|
| 83 |
+
st.markdown(":violet[Wordcloud: ]")
|
| 84 |
st.pyplot(plot_wordcloud(wordcloud))
|
| 85 |
+
st.write("##")
|
| 86 |
|
| 87 |
+
st.markdown(":violet[Sentiment Analysis: ]")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
st.plotly_chart(fig_s)
|
| 89 |
st.dataframe(df)
|
|
|
|
|
|
|
|
|
|
| 90 |
|
| 91 |
## Moderation ##
|
| 92 |
st.markdown("##### :blue[Content moderation: ]")
|