AIEcosystem commited on
Commit
37b3dd0
·
verified ·
1 Parent(s): efb6584

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +18 -2
src/streamlit_app.py CHANGED
@@ -25,12 +25,28 @@ st.subheader("DataHarvest", divider="violet")
25
  st.link_button("by nlpblogs", "https://nlpblogs.com", type="tertiary")
26
  st.markdown(':rainbow[**Supported Languages: English**]')
27
  expander = st.expander("**Important notes**")
28
- expander.write("""**Named Entities:** This DataHarvest web app predicts nine (9) labels: "person", "country", "city", "organization", "date", "time", "cardinal", "money", "position"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.**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.**Usage Limits:** You can request results unlimited times for one (1) month.**Technical issues:** If your connection times out, please refresh the page or reopen the app's URL. For any errors or inquiries, please contact us at info@nlpblogs.com""")
 
 
 
 
 
 
 
 
 
 
29
 
30
  with st.sidebar:
31
  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.")
32
  code = '''
33
- <iframe src="https://aiecosystem-dataharvest.hf.space" frameborder="0" width="850" height="450" ></iframe>
 
 
 
 
 
 
34
  '''
35
  st.code(code, language="html")
36
  st.text("")
 
25
  st.link_button("by nlpblogs", "https://nlpblogs.com", type="tertiary")
26
  st.markdown(':rainbow[**Supported Languages: English**]')
27
  expander = st.expander("**Important notes**")
28
+ expander.write("""**Named Entities:** This DataHarvest web app predicts nine (9) labels: "person", "country", "city", "organization", "date", "time", "cardinal", "money", "position"
29
+
30
+ 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.
31
+
32
+ **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.
33
+
34
+ **Usage Limits:** You can request results unlimited times for one (1) month.
35
+
36
+ **Technical issues:** If your connection times out, please refresh the page or reopen the app's URL.
37
+
38
+ For any errors or inquiries, please contact us at info@nlpblogs.com""")
39
 
40
  with st.sidebar:
41
  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.")
42
  code = '''
43
+ <iframe
44
+ src="https://aiecosystem-dataharvest.hf.space"
45
+ frameborder="0"
46
+ width="850"
47
+ height="450"
48
+ ></iframe>
49
+
50
  '''
51
  st.code(code, language="html")
52
  st.text("")