Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -3
src/streamlit_app.py
CHANGED
|
@@ -68,7 +68,7 @@ st.link_button("by nlpblogs", "https://nlpblogs.com", type="tertiary")
|
|
| 68 |
expander = st.expander("**Important notes**")
|
| 69 |
|
| 70 |
expander.write("""**Named Entities:** This Multilingual predicts fifteen (15) labels:
|
| 71 |
-
"Person","First_name","Last_name","Title","Job_title","Affiliation","Gender","Age","Date","Nationality","Location","City","Country","Role","Relationship"
|
| 72 |
|
| 73 |
Results are presented in easy-to-read tables, visualized in an interactive tree map, pie chart and bar chart, and are available for download along with a Glossary of tags.
|
| 74 |
|
|
@@ -76,7 +76,7 @@ Results are presented in easy-to-read tables, visualized in an interactive tree
|
|
| 76 |
|
| 77 |
**Usage Limits:** You can request results unlimited times for one (1) month.
|
| 78 |
|
| 79 |
-
**Supported Languages:**
|
| 80 |
|
| 81 |
**Language settings:** Please check and adjust the language settings in your computer, so the characters of your chosen language are handled properly in your downloaded file.
|
| 82 |
|
|
@@ -243,7 +243,7 @@ if st.button("Results"):
|
|
| 243 |
# Tree map
|
| 244 |
st.subheader("Tree map", divider = "green")
|
| 245 |
fig_treemap = px.treemap(df, path=[px.Constant("all"), 'category', 'label', 'text'], values='score', color='category')
|
| 246 |
-
fig_treemap.update_layout(margin=dict(t=50, l=25, r=25, b=25), paper_bgcolor='#
|
| 247 |
st.plotly_chart(fig_treemap)
|
| 248 |
|
| 249 |
# Pie and Bar charts
|
|
|
|
| 68 |
expander = st.expander("**Important notes**")
|
| 69 |
|
| 70 |
expander.write("""**Named Entities:** This Multilingual predicts fifteen (15) labels:
|
| 71 |
+
"Person", "First_name", "Last_name", "Title", "Job_title", "Affiliation", "Gender", "Age", "Date", "Nationality", "Location", "City", "Country", "Role", "Relationship"
|
| 72 |
|
| 73 |
Results are presented in easy-to-read tables, visualized in an interactive tree map, pie chart and bar chart, and are available for download along with a Glossary of tags.
|
| 74 |
|
|
|
|
| 76 |
|
| 77 |
**Usage Limits:** You can request results unlimited times for one (1) month.
|
| 78 |
|
| 79 |
+
**Supported Languages:** European, Asian, Indian, Arabic, African
|
| 80 |
|
| 81 |
**Language settings:** Please check and adjust the language settings in your computer, so the characters of your chosen language are handled properly in your downloaded file.
|
| 82 |
|
|
|
|
| 243 |
# Tree map
|
| 244 |
st.subheader("Tree map", divider = "green")
|
| 245 |
fig_treemap = px.treemap(df, path=[px.Constant("all"), 'category', 'label', 'text'], values='score', color='category')
|
| 246 |
+
fig_treemap.update_layout(margin=dict(t=50, l=25, r=25, b=25), paper_bgcolor='#F0F2F5', plot_bgcolor='#F0F2F5')
|
| 247 |
st.plotly_chart(fig_treemap)
|
| 248 |
|
| 249 |
# Pie and Bar charts
|