Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +13 -2
src/streamlit_app.py
CHANGED
|
@@ -21,15 +21,26 @@ st.markdown(':rainbow[**Supported Languages: English**]')
|
|
| 21 |
|
| 22 |
expander = st.expander("**Important notes**")
|
| 23 |
expander.write("""**Named Entities:** This DataHarvest web app predicts nine (9) labels: "person", "country", "city", "organization", "date", "time", "cardinal", "money", "position"
|
|
|
|
| 24 |
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.
|
|
|
|
| 25 |
**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.
|
|
|
|
| 26 |
**Usage Limits:** You can request results unlimited times for one (1) month.
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
with st.sidebar:
|
| 30 |
st.write("Use the following code to embed the DataHarvest web app on your website. Feel free to adjust the width and height values to fit your page.")
|
| 31 |
code = '''
|
| 32 |
-
<iframe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
'''
|
| 34 |
st.code(code, language="html")
|
| 35 |
st.text("")
|
|
|
|
| 21 |
|
| 22 |
expander = st.expander("**Important notes**")
|
| 23 |
expander.write("""**Named Entities:** This DataHarvest web app predicts nine (9) labels: "person", "country", "city", "organization", "date", "time", "cardinal", "money", "position"
|
| 24 |
+
|
| 25 |
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.
|
| 26 |
+
|
| 27 |
**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.
|
| 28 |
+
|
| 29 |
**Usage Limits:** You can request results unlimited times for one (1) month.
|
| 30 |
+
|
| 31 |
+
**Technical issues:** If your connection times out, please refresh the page or reopen the app's URL.
|
| 32 |
+
|
| 33 |
+
For any errors or inquiries, please contact us at info@nlpblogs.com""")
|
| 34 |
|
| 35 |
with st.sidebar:
|
| 36 |
st.write("Use the following code to embed the DataHarvest web app on your website. Feel free to adjust the width and height values to fit your page.")
|
| 37 |
code = '''
|
| 38 |
+
<iframe
|
| 39 |
+
src="https://aiecosystem-dataharvest.hf.space"
|
| 40 |
+
frameborder="0"
|
| 41 |
+
width="850"
|
| 42 |
+
height="450"
|
| 43 |
+
></iframe>
|
| 44 |
'''
|
| 45 |
st.code(code, language="html")
|
| 46 |
st.text("")
|