Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +4 -6
src/streamlit_app.py
CHANGED
|
@@ -67,8 +67,8 @@ st.subheader("Multilingual", divider="green")
|
|
| 67 |
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
|
| 71 |
-
"Person", "First_name", "Last_name", "Title", "Job_title", "Affiliation", "Gender", "Age", "Date", "Nationality", "Location", "
|
| 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 |
|
|
@@ -124,8 +124,7 @@ labels = [
|
|
| 124 |
"AGE",
|
| 125 |
"DATE",
|
| 126 |
|
| 127 |
-
"NATIONALITY", "LOCATION",
|
| 128 |
-
"CITY", "COUNTRY", "ROLE",
|
| 129 |
"RELATIONSHIP"
|
| 130 |
|
| 131 |
]
|
|
@@ -152,8 +151,7 @@ category_mapping = {
|
|
| 152 |
"DATE",
|
| 153 |
|
| 154 |
"NATIONALITY",
|
| 155 |
-
"LOCATION",
|
| 156 |
-
"CITY", "COUNTRY"
|
| 157 |
],
|
| 158 |
"Relational": [
|
| 159 |
"ROLE",
|
|
|
|
| 67 |
st.link_button("by nlpblogs", "https://nlpblogs.com", type="tertiary")
|
| 68 |
expander = st.expander("**Important notes**")
|
| 69 |
|
| 70 |
+
expander.write("""**Named Entities:** This Multilingual web app predicts fourteen (14) labels:
|
| 71 |
+
"Person", "First_name", "Last_name", "Title", "Job_title", "Affiliation", "Gender", "Age", "Date", "Nationality", "Location", "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 |
|
|
|
|
| 124 |
"AGE",
|
| 125 |
"DATE",
|
| 126 |
|
| 127 |
+
"NATIONALITY", "LOCATION","COUNTRY", "ROLE",
|
|
|
|
| 128 |
"RELATIONSHIP"
|
| 129 |
|
| 130 |
]
|
|
|
|
| 151 |
"DATE",
|
| 152 |
|
| 153 |
"NATIONALITY",
|
| 154 |
+
"LOCATION","COUNTRY"
|
|
|
|
| 155 |
],
|
| 156 |
"Relational": [
|
| 157 |
"ROLE",
|