Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +14 -1
src/streamlit_app.py
CHANGED
|
@@ -64,7 +64,20 @@ st.set_page_config(layout="wide", page_title="Named Entity Recognition App")
|
|
| 64 |
st.subheader("Legal Lens", divider="grey")
|
| 65 |
st.link_button("by nlpblogs", "https://nlpblogs.com", type="tertiary")
|
| 66 |
expander = st.expander("**Important notes**")
|
| 67 |
-
expander.write("""**Named Entities:** This Legal Lens web app predicts twenty-eight (28) labels: "Plaintiff", "Defendant", "Appellant", "Appellee", "Debtor", "Creditor", "Signer", "Witness", "Courts", "Judges", "Lawyers", "Attorneys", "Statutes", "Laws", "Provisions", "Case_citations", "Legal_documents", "Effective_dates", "Execution_dates", "Expiration_dates", "Money", "Amounts", "Contract_terms", "Case_number", "Witnesses", "Crimes", "Offenses", "Victims"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
with st.sidebar:
|
| 69 |
st.write("Use the following code to embed the Legal Lens web app on your website. Feel free to adjust the width and height values to fit your page.")
|
| 70 |
code = '''
|
|
|
|
| 64 |
st.subheader("Legal Lens", divider="grey")
|
| 65 |
st.link_button("by nlpblogs", "https://nlpblogs.com", type="tertiary")
|
| 66 |
expander = st.expander("**Important notes**")
|
| 67 |
+
expander.write("""**Named Entities:** This Legal Lens web app predicts twenty-eight (28) labels: "Plaintiff", "Defendant", "Appellant", "Appellee", "Debtor", "Creditor", "Signer", "Witness", "Courts", "Judges", "Lawyers", "Attorneys", "Statutes", "Laws", "Provisions", "Case_citations", "Legal_documents", "Effective_dates", "Execution_dates", "Expiration_dates", "Money", "Amounts", "Contract_terms", "Case_number", "Witnesses", "Crimes", "Offenses", "Victims"
|
| 68 |
+
|
| 69 |
+
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.
|
| 70 |
+
|
| 71 |
+
**How to Use:** Type or paste your text into the text area below, then press Ctrl + Enter. Click the 'Results' button to extract and tag entities in your text data.
|
| 72 |
+
|
| 73 |
+
**Usage Limits:** You can request results unlimited times for one (1) month.
|
| 74 |
+
|
| 75 |
+
**Supported Languages:** English
|
| 76 |
+
|
| 77 |
+
**Technical issues:** If your connection times out, please refresh the page or reopen the app's URL.
|
| 78 |
+
|
| 79 |
+
For any errors or inquiries, please contact us at info@nlpblogs.com""")
|
| 80 |
+
|
| 81 |
with st.sidebar:
|
| 82 |
st.write("Use the following code to embed the Legal Lens web app on your website. Feel free to adjust the width and height values to fit your page.")
|
| 83 |
code = '''
|