MrJShen commited on
Commit
74a38b8
·
1 Parent(s): 9eba384

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -11
app.py CHANGED
@@ -78,21 +78,15 @@ if txt:
78
 
79
  ### Output section Start ###
80
 
81
- ## Wordcloud ##
82
- st.markdown(":violet[Wordcloud: ]")
83
- if wordcloud:
84
  st.pyplot(plot_wordcloud(wordcloud))
 
85
 
86
- st.write("##")
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: ]")