shubh2014shiv commited on
Commit
6297b77
โ€ข
1 Parent(s): da629b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ if topic == "Sentiment Analysis":
165
  st.write(result)
166
  with graph_col:
167
  fig = px.bar(x=['NEGATIVE (ใƒใ‚ฌใƒ†ใ‚ฃใƒ–)','POSITIVE (ใƒใ‚ธใƒ†ใ‚ฃใƒ–)'],y=[result['NEGATIVE (ใƒใ‚ฌใƒ†ใ‚ฃใƒ–)'],result['POSITIVE (ใƒใ‚ธใƒ†ใ‚ฃใƒ–)']])
168
- fig.update_layout(title="Probability distribution of Sentiment for the given text/n(ไธŽใˆใ‚‰ใ‚ŒใŸใƒ†ใ‚ญใ‚นใƒˆใซๅฏพใ™ใ‚‹ๆ„Ÿๆƒ…ใฎ็ขบ็Ž‡ๅˆ†ๅธƒ)",\
169
  yaxis_title="Probability (็ขบ็Ž‡)")
170
  fig.update_traces(marker_color=['#FF7F7F','#32CD32'])
171
  st.plotly_chart(fig)
165
  st.write(result)
166
  with graph_col:
167
  fig = px.bar(x=['NEGATIVE (ใƒใ‚ฌใƒ†ใ‚ฃใƒ–)','POSITIVE (ใƒใ‚ธใƒ†ใ‚ฃใƒ–)'],y=[result['NEGATIVE (ใƒใ‚ฌใƒ†ใ‚ฃใƒ–)'],result['POSITIVE (ใƒใ‚ธใƒ†ใ‚ฃใƒ–)']])
168
+ fig.update_layout(title="Probability distribution of Sentiment for the given text",\
169
  yaxis_title="Probability (็ขบ็Ž‡)")
170
  fig.update_traces(marker_color=['#FF7F7F','#32CD32'])
171
  st.plotly_chart(fig)