AIEcosystem commited on
Commit
d7e87d5
·
verified ·
1 Parent(s): fa7f672

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +21 -24
src/streamlit_app.py CHANGED
@@ -475,30 +475,27 @@ st.markdown(
475
  st.subheader("Entity and Topic Analysis Report Generator", divider="rainbow")
476
  st.link_button("by nlpblogs", "https://nlpblogs.com", type="tertiary")
477
 
478
-
479
-
480
-
481
- expander = st.expander("**Important notes**")
482
- expander.write("""**Named Entities:** This DataHarvest web app predicts nine (9) labels: "person", "country", "city", "organization", "date", "time", "cardinal", "money", "position"
483
-
484
- **Results:** Results are compiled into a single, comprehensive **HTML report** and a **CSV file** for easy download and sharing.
485
-
486
- **How to Use:** Type or paste your text into the text area below, press Ctrl + Enter, and then click the 'Results' button.
487
-
488
- **Technical issues:** If your connection times out, please refresh the page or reopen the app's URL.""")
489
-
490
-
491
- with st.expander("Embed"):
492
- 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.")
493
- code = '''
494
- <iframe
495
- src="https://aiecosystem-dataharvest.hf.space"
496
- frameborder="0"
497
- width="850"
498
- height="450"
499
- ></iframe>
500
- '''
501
- st.code(code, language="html")
502
 
503
  st.markdown("For any errors or inquiries, please contact us at [info@nlpblogs.com](mailto:info@nlpblogs.com)")
504
 
 
475
  st.subheader("Entity and Topic Analysis Report Generator", divider="rainbow")
476
  st.link_button("by nlpblogs", "https://nlpblogs.com", type="tertiary")
477
 
478
+ tab1, tab2 = st.tabs(["Important Notes", "Embed"])
479
+ with tab1:
480
+ expander = st.expander("**Important notes**")
481
+ expander.write("""**Named Entities:** This DataHarvest web app predicts nine (9) labels: "person", "country", "city", "organization", "date", "time", "cardinal", "money", "position"
482
+ **Results:** Results are compiled into a single, comprehensive **HTML report** and a **CSV file** for easy download and sharing.
483
+ **How to Use:** Type or paste your text into the text area below, press Ctrl + Enter, and then click the 'Results' button.
484
+ **Technical issues:** If your connection times out, please refresh the page or reopen the app's URL.""")
485
+
486
+
487
+ with tab2:
488
+ with st.expander("Embed"):
489
+ 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.")
490
+ code = '''
491
+ <iframe
492
+ src="https://aiecosystem-dataharvest.hf.space"
493
+ frameborder="0"
494
+ width="850"
495
+ height="450"
496
+ ></iframe>
497
+ '''
498
+ st.code(code, language="html")
 
 
 
499
 
500
  st.markdown("For any errors or inquiries, please contact us at [info@nlpblogs.com](mailto:info@nlpblogs.com)")
501