Spaces:
Runtime error
Runtime error
shubh2014shiv
commited on
Commit
โข
da629b8
1
Parent(s):
de2567e
Update app.py
Browse files
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
|
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/n(ไธใใใใใใญในใใซๅฏพใใๆๆ
ใฎ็ขบ็ๅๅธ)",\
|
169 |
yaxis_title="Probability (็ขบ็)")
|
170 |
fig.update_traces(marker_color=['#FF7F7F','#32CD32'])
|
171 |
st.plotly_chart(fig)
|