Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -3
src/streamlit_app.py
CHANGED
|
@@ -65,8 +65,7 @@ st.set_page_config(layout="wide", page_title="Named Entity Recognition App")
|
|
| 65 |
st.subheader("EntityFinance", divider="violet")
|
| 66 |
st.link_button("by nlpblogs", "https://nlpblogs.com", type="tertiary")
|
| 67 |
expander = st.expander("**Important notes**")
|
| 68 |
-
expander.write("""**Named Entities:** This EntityFinance web app predicts fourteen (14) labels:
|
| 69 |
-
'weapon', 'vehicle', 'facility', 'temporal expression'
|
| 70 |
|
| 71 |
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.
|
| 72 |
|
|
@@ -140,7 +139,7 @@ category_mapping = {
|
|
| 140 |
"Financial_event",
|
| 141 |
"Financial_metric", "Product", "Service"],
|
| 142 |
"Temporal": ["Date", "Time"],
|
| 143 |
-
"Locations": ["
|
| 144 |
"Documents & Context": ["Financial_document"]
|
| 145 |
}
|
| 146 |
|
|
|
|
| 65 |
st.subheader("EntityFinance", divider="violet")
|
| 66 |
st.link_button("by nlpblogs", "https://nlpblogs.com", type="tertiary")
|
| 67 |
expander = st.expander("**Important notes**")
|
| 68 |
+
expander.write("""**Named Entities:** This EntityFinance web app predicts fourteen (14) labels: "Monetary_value", "Financial_instrument", "Company_identifier", "Financial_event", "Financial_metric", "Regulatory_entity", "Financial_document", "Person", "Product", "Service", "Organization", "Location", "Date", "Time"
|
|
|
|
| 69 |
|
| 70 |
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.
|
| 71 |
|
|
|
|
| 139 |
"Financial_event",
|
| 140 |
"Financial_metric", "Product", "Service"],
|
| 141 |
"Temporal": ["Date", "Time"],
|
| 142 |
+
"Locations": ["Location"],
|
| 143 |
"Documents & Context": ["Financial_document"]
|
| 144 |
}
|
| 145 |
|